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