Removes a style by Object from the collection.
Namespace: Autodesk.Civil.DatabaseServices.StylesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
| C# |
|---|
[ObsoleteAttribute("Use the override methods with an index or name instead.",
false)]
public virtual void Remove(
StyleBase style
) |
| Visual Basic |
|---|
<ObsoleteAttribute("Use the override methods with an index or name instead.", _
False)> _
Public Overridable Sub Remove ( _
style As StyleBase _
) |
| Visual C++ |
|---|
public:
[ObsoleteAttribute(L"Use the override methods with an index or name instead.",
false)]
virtual void Remove(
StyleBase^ style
) |
Exceptions
| Exception | Condition |
|---|
| System..::..ArgumentException |
Thrown when the style is invalid or not exist in the collection.
|
| System..::..InvalidOperationException |
Thrown when style is still in use.
|
See Also