Share

StyleCollectionBase.Remove(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.280

Syntax

C#

[ObsoleteAttribute("Use the override methods with an index or name instead.", 
	false)]
public virtual void Remove(
	StyleBase style
)

VB

<ObsoleteAttribute("Use the override methods with an index or name instead.", 
	false)>
Public Overridable Sub Remove ( 
	style As StyleBase
)

C++

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.

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

Reference

Was this information helpful?