SymbolUtilityServicesValidateCompatibleSymbolName Method

Validates a symbol name and checks whether its length is acceptable.

Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 24.2.0.0
Syntax
public static ErrorStatus ValidateCompatibleSymbolName(
        string name,
        bool isNewName,
        bool allowVerticalBar,
        bool compatibilityMode
)

Parameters

name  String
[in] Name to validate.
isNewName  Boolean
[in] Flag that specifies whether the name should be regarded as a new name or an existing name.
allowVerticalBar  Boolean
[in] Flag that specifies whether vertical bars ("|") are allowed in the symbol name.
compatibilityMode  Boolean
[in] Flag that specifies whether the name should be validated as an extended or legacy symbol name.

Return Value

ErrorStatus
ErrorStatus::OK if validated successfully, or an appropriate error code otherwise.
See Also

©  Bricsys NV. All rights reserved.