|
|
Sets the contents of the collection to the items in from
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Sub CopyFrom ( _ from As ModelItemCollection _ ) |
| C# |
|---|
public void CopyFrom( ModelItemCollection from ) |
| Visual C++ |
|---|
public: void CopyFrom( ModelItemCollection^ from ) |
Parameters
Exceptions
| Exception | Condition |
|---|---|
| System..::..ObjectDisposedException | Object has been Disposed |
| System..::..NotSupportedException | Object is Read-Only |
| System..::..ArgumentNullException | Argument 'from' is null |
| System..::..ArgumentException | Argument 'from' has been Disposed |
| System..::..ArgumentException | Argument 'from' is associated with a different document |