API Help
Eplan.EplApi.DataModel.Graphics Namespace / PlaceHolder Class / IsVariableValid Method
variable name to check.

IsVariableValid Method (PlaceHolder)
Verifies the correctness if a variable name of a placeholder. If a variable name contains invalid characters, this method \returns false.
Syntax
public virtual bool IsVariableValid( 
   string strVariableName
)

Parameters

strVariableName
variable name to check.

Return Value

false: If strVariableName contains characters, which cannot be used for variable name. true: strVariableName can be used as variable name.
Exceptions
ExceptionDescription
Thrown in case of missing parameters.
Thrown in case of invalid arguments.
The internal interface for place holders could not be created.
Service couldn't be correctly executed. Pleas see the exception message for further explanation.
See Also