Removes provided property set from the template.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public void RemovePropertySet( PropertySetupType propertySetupType, string propertySetName )
Parameters
- propertySetupType PropertySetupType
- The property setup type.
- propertySetName String
- The property set name.
Exceptions
Exception | Condition |
---|---|
ArgumentException | A property set with the given name is not present in the template. |
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |