|
|
Occurs when the collection of Models is about to change
Namespace: Autodesk.Navisworks.Api.DocumentParts
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Event CollectionChanging As EventHandler(Of EventArgs) |
| C# |
|---|
public event EventHandler<EventArgs> CollectionChanging |
| Visual C++ |
|---|
public: event EventHandler<EventArgs^>^ CollectionChanging { void add (EventHandler<EventArgs^>^ value); void remove (EventHandler<EventArgs^>^ value); } |
Remarks
Use Document.Models to obtain the DocumentModels collection about to be changed.
Use the DocumentModels.CollectionChanged event to get a reference to the new collection.