StyleCollectionBaseRemove(StyleBase) Method

Note: This API is now obsolete.

Removes a style by Object from the collection.

Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
[ObsoleteAttribute("Use the override methods with an index or name instead.", 
	false)]
public virtual void Remove(
	StyleBase style
)

Parameters

style  StyleBase
The style object to remove from the collection.
Exceptions
ExceptionCondition
ArgumentException Thrown when the style is invalid or not exist in the collection.
InvalidOperationException Thrown when style is still in use.
See Also