StyleCollectionBaseRemove(StyleBase) Method |
Note: This API is now obsolete.
Removes a style by Object from the collection.
Namespace: Autodesk.Civil.DatabaseServices.StylesAssembly: 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
)
<ObsoleteAttribute("Use the override methods with an index or name instead.",
false)>
Public Overridable Sub Remove (
style As StyleBase
)
public:
[ObsoleteAttribute(L"Use the override methods with an index or name instead.",
false)]
virtual void Remove(
StyleBase^ style
)
Parameters
- style StyleBase
- The style object to remove from the collection.
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the style is invalid or not exist in the collection.
|
InvalidOperationException |
Thrown when style is still in use.
|
See Also