Removes a label style by name from the collection.
Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public override void Remove( string styleName )
VB
Public Overrides Sub Remove ( styleName As String )
C++
public: virtual void Remove( String^ styleName ) override
Parameters
- styleName String
- The name of the label style to remove from the collection.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the name is invalid or not exist in the collection. |
InvalidOperationException | Thrown when label style is still in use. |