Eplan Platform API
Eplan.EplApi.DataModel Namespace / StorableObject Class / FromStringIdentifier Method / FromStringIdentifier(String) Method
The string identifier for the object. This string has to be created with the ToString() function.

FromStringIdentifier(String) Method
Returns this object created from the string identifier
Syntax
public static StorableObject FromStringIdentifier( 
   string strObject
)

Parameters

strObject
The string identifier for the object. This string has to be created with the ToString() function.

Return Value

The storable object
Exceptions
ExceptionDescription
Exception is thrown when the string is not in the correct format
Thrown when the object is invalid.
Remarks
The string is valid during runtime only. When the project the object belongs to is closed, the string gets invalid.
See Also