Share

SchemaBuilder.AcceptableName Method

Checks whether a string is an acceptable name for a Schema or a Field.


Namespace: Autodesk.Revit.DB.ExtensibleStorage
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public bool AcceptableName(
	string name
)

Parameters

name  String
The string to check.

Return Value

Boolean
True if the name is acceptable.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

Remarks

For interoperability, names are required to be usable as C++ identifiers. The allowable characters are ASCII letters, numbers (except the first character) and underscore. The length must be between 1 and 247 characters.

See Also

Reference

Was this information helpful?