Sets the name of the Schema.
Namespace: Autodesk.Revit.DB.ExtensibleStorage
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public SchemaBuilder SetSchemaName( string schemaName )
Parameters
- schemaName String
- The name for the Schema.
Return Value
SchemaBuilderThe SchemaBuilder object may be used to add more settings.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The parameter schemaName is not acceptable for naming Extensible Storage objects. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | The SchemaBuilder has already finished building the Schema. |
