API Help
Eplan.EplApi.DataModel Namespace / PropertyValue 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 PropertyValue object, stored value is returned without any cast. When property can not be read, null is returned instead of throwing EmptyPropertyException .
    Syntax
    public string ToString( 
       ISOCode.Language language
    )
    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