Removes a style by name from the collection.
Namespace: Autodesk.Civil.DatabaseServices.StylesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public virtual void Remove(
string styleName
)Visual Basic
Public Overridable Sub Remove ( _
styleName As String _
)Visual C++
public:
virtual void Remove(
String^ styleName
)Parameters
- styleName
- Type: System.String
The name of the style to remove from the collection.
Exceptions
| Exception | Condition |
|---|---|
| System.ArgumentException | Thrown when the name is invalid or not exist in the collection. |
| System.InvalidOperationException | Thrown when style is still in use. |