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.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.0.0.377)
Since:
2017
Syntax
C# |
---|
public static bool IsTypeNameValidForCustomConnection(
Document document,
string typeName
) |
Visual Basic |
---|
Public Shared Function IsTypeNameValidForCustomConnection ( _
document As Document, _
typeName As String _
) As Boolean |
Visual C++ |
---|
public:
static bool IsTypeNameValidForCustomConnection(
Document^ document,
String^ typeName
) |
Return Value
True if the input name matches the criteria of StructuralConnectionHandlerType name.
Exceptions
See Also