Changes the subclass field of all property sets in this library from one value to another.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since:
2012
Syntax
Visual Basic |
---|
Public Function RenameSubclass ( _
oldSubclass As String, _
newSubclass As String _
) As Integer |
Visual C++ |
---|
public:
int RenameSubclass(
String^ oldSubclass,
String^ newSubclass
) |
Parameters
- oldSubclass
- Type: System..::..String
The existing subclass to rename.
- newSubclass
- Type: System..::..String
The new subclass applied to all property sets matching the given oldSubclass.
Return Value
The number of property sets whose subclass was changed.
Remarks
Exceptions
See Also