<Code Lib>
2025.3 Method
Changes 0
M

StructuralConnectionHandlerType.IsTypeNameValidForCustomConnection

Description:
Validates if the input name matches the criteria of StructuralConnectionHandlerType name. Name must be unique among other existing StructuralConnectionHandlerTypes and cannot contain any of the following characters: new line, {}[];`~\\/:*?";<>| or any of the non-printable characters.

public static bool IsTypeNameValidForCustomConnection(
	Document document,
	string typeName
)

  • document
    The Document.
  • String
    typeName
    The StructuralConnectionHandlerType name to validate.
Return Value Boolean True if the input name matches the criteria of StructuralConnectionHandlerType name.

Loading…