LabelStyleCollectionRemove(String) Method

Removes a label style by name from the collection.

Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.9.0.960
Syntax
public override void Remove(
	string styleName
)

Parameters

styleName  String
The name of the label style to remove from the collection.
Exceptions
ExceptionCondition
ArgumentException Thrown when the name is invalid or not exist in the collection.
InvalidOperationException Thrown when label style is still in use.
Remarks
It only searches direct child label styles and does not include deeper descendant levels.
See Also