Eplan Platform API
Eplan.EplApi.MasterData Namespace / MDPropertyValue Class / ToString Method / ToString(Language) Method
Language to extract from MultiLangString value.

In This Topic
ToString(Language) Method
In This Topic
Returns string value of this property. When type of property is MultiLangString then only specified language is returned. In case of off-line MDPropertyValue object, stored value is returned without any cast. When property can not be read, null is returned instead of throwing MDEmptyPropertyException .
Syntax
public string ToString( 
   ISOCode.Language language
)

Parameters

language
Language to extract from MultiLangString value.

Return Value

Value of string or null when property cannot be read.
See Also