Remove Method (String)

Removes a label style by name from the collection.

Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0

Syntax

C#

public override void Remove(
	string styleName
)

Visual Basic

Public Overrides Sub Remove ( _
	styleName As String _
)

Visual C++

public:
virtual void Remove(
	String^ styleName
) override

Parameters

styleName
Type: System.String
The name of the label style to remove from the collection.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the name is invalid or not exist in the collection.
System.InvalidOperationException Thrown when label style is still in use.

See Also