Aggregates multiple CVB objects under a common Purpose.
More...
Inherits INativeHandle, and IList< INativeHandle >.
|
IntPtr | Handle [get] |
| Native CVB buffer handle. More...
|
|
bool | IsDisposed [get] |
| Tests if the native handle has already been disposed.
|
|
CompositePurpose | Purpose [get] |
| Get the CompositePurpose of this object.
|
|
int | Count [get] |
| Get the number of elements in this collection.
|
|
INativeHandle | this[int index] [get, set] |
| Gets/sets the element at the given index . More...
|
|
Properties inherited from INativeHandle |
IntPtr | Handle [get] |
| The native handle of the object.
|
|
bool | IsDisposed [get] |
| Possibility to check whether the object has already been disposed of.
|
|
Aggregates multiple CVB objects under a common Purpose.
◆ Composite() [1/2]
Creates a new Composite with the given purpose .
- Parameters
-
purpose | Purpose of this composite. |
◆ Composite() [2/2]
Create a composite object from a handle .
- Parameters
-
handle | Native IBuffer handle. |
◆ Add()
Adds the item to the end of this collection.
- Parameters
-
◆ Contains()
Determines whether this collection.
- Parameters
-
- Returns
- true if item is in this collection.
◆ CopyTo()
Copies the elements of this PlaneEnum to the given array , starting at arrayIndex .
- Parameters
-
array | Array to copy elements to. |
arrayIndex | Start index in array . |
◆ Dispose() [1/2]
Disposes of this composite and its aggregated objects.
Call this method to release the resources allocated by this buffer immediately. Remember that after calling Dispose, any subsequent access to references to this buffer will result in an ObjectDisposedException.
◆ Dispose() [2/2]
virtual void Dispose |
( |
bool |
disposing | ) |
|
|
protectedvirtual |
IDispose helper function.
- Parameters
-
disposing | true when called via IDisposable.Dispose, false when called by the finalizer. |
◆ FromHandle()
Create a composite object from a handle .
- Parameters
-
handle | Native IBuffer handle. |
doShare | ShareObject.Yes if handle should be shared. |
- Returns
- Newly created wrapper object.
◆ FromObject()
Create a composite object from another obj .
- Parameters
-
obj | Object to interpret as composite. |
- Returns
- Newly created wrapper object.
◆ GetEnumerator()
Get the enumerator to iterate over all CVB objects.
- Returns
- Enumerator over all CVB objects.
◆ IndexOf()
Finds the given item and returns its index.
- Parameters
-
- Returns
- Index of item; -1 if not found.
◆ Insert()
Inserts an item at the given index .
If the index is set to Count, item will be appended.
- Parameters
-
index | Index where to insert the item . |
item | CVB object to insert. |
◆ Remove()
Removes the first occurrence of item from this collection.
- Parameters
-
item | CVB object to remove. |
- Returns
- true if item was removed; false otherwise.
◆ RemoveAt()
void RemoveAt |
( |
int |
index | ) |
|
Removes the item at the given index .
- Parameters
-
index | Index of item to remove. |
◆ Handle
Native CVB buffer handle.
It is normally not necessary to work with this handle in CVB.Net. Note that using this handle in connection with the legacy CVB managed wrappers may actually be disruptive to your application.
Implements INativeHandle.
◆ this[int index]
Gets/sets the element at the given index .
- Parameters
-
- Returns
- The element at the given index .
◆ ObjectDisposing
Raised when this object is about to be disposed via the IDisposable.Dispose method.
This event is raised right before this object is disposed. The dispose itself cannot be canceled.