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

In This Topic
    IsVariableValid Method (PlaceHolder)
    In This Topic
    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
    )
    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