|
|
Removes the first occurrence of a specific item from the collection.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Function Remove ( _ item As GridLine _ ) As Boolean |
| C# |
|---|
public bool Remove( GridLine item ) |
| Visual C++ |
|---|
public: virtual bool Remove( GridLine^ item ) sealed |
Parameters
- item
- Type: Autodesk.Navisworks.Api..::..GridLine
The object to remove from the collection.
Return Value
true if item was successfully removed from the collection; otherwise, false. This method also returns false if item is not found in the original collection.Implements
ICollection<(Of <(<'T>)>)>..::..Remove(T)
Exceptions
| Exception | Condition |
|---|---|
| System..::..NotSupportedException | The collection is read-only. |
| System..::..ArgumentException | Argument 'item' has been Disposed |
| System..::..ArgumentNullException | Argument 'item' is null |
| System..::..ArgumentException | Argument 'item' is ReadOnly |