Contains all results from a discovery run. More...
Inherits IList< DiscoveryInformation >, and INativeHandle.
Public Member Functions | |
void | Dispose () |
Disposes this information list. | |
void | Add (DiscoveryInformation item) |
Not supported. More... | |
void | Clear () |
Not supported. More... | |
bool | Contains (DiscoveryInformation item) |
Checks whether the given item is inside this list. More... | |
void | CopyTo (DiscoveryInformation[] array, int arrayIndex) |
Copies the elements of this collection to an array , starting at a particular arrayIndex . More... | |
int | IndexOf (DiscoveryInformation item) |
Gets the index of the given item . More... | |
void | Insert (int index, DiscoveryInformation item) |
Not supported. More... | |
bool | Remove (DiscoveryInformation item) |
Not supported. More... | |
void | RemoveAt (int index) |
Not supported. More... | |
IEnumerator< DiscoveryInformation > | GetEnumerator () |
Gets the typed enumerator for this list. More... | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
Actual dispose implementation. More... | |
Properties | |
IntPtr | Handle [get] |
Gets the native object handle of the discovery information list. | |
bool | IsDisposed [get] |
Gets whether this object has been disposed. | |
DiscoveryInformation | this[int index] [get, set] |
Get the entry with the given index . More... | |
int | Count [get] |
Gets the number of discovered devices/nodes. | |
bool | IsReadOnly [get] |
Always returns true as this is a read only collection. | |
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. | |
Events | |
NativeHandleEventDelegate | ObjectDisposing |
Event that is fired when this object is about to be disposed. | |
Events inherited from INativeHandle | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. More... | |
Contains all results from a discovery run.
void Add | ( | DiscoveryInformation | item | ) |
Not supported.
item | Ignored. |
NotSupportedException | This collection is read only. |
void Clear | ( | ) |
Not supported.
NotSupportedException | This collection is read only. |
bool Contains | ( | DiscoveryInformation | item | ) |
Checks whether the given item is inside this list.
item | Item to check. |
true
if item is inside this list; false
otherwise.void CopyTo | ( | DiscoveryInformation[] | array, |
int | arrayIndex | ||
) |
Copies the elements of this collection to an array , starting at a particular arrayIndex .
array | One-dimensional array that is the destination of the elements copied from this collection. The array must have zero-based indexing. |
arrayIndex | Zero-based index in array at which copying begins. |
ArgumentNullException | array is null . |
ArgumentOutOfRangeException | arrayIndex is less than 0. |
ArgumentException | The number of elements in this collection is greater than the available space from arrayIndex to the end of the destination array . |
|
protectedvirtual |
Actual dispose implementation.
disposing | true if called from IDisposable.Dispose; false if called from finalizer. |
IEnumerator< DiscoveryInformation > GetEnumerator | ( | ) |
Gets the typed enumerator for this list.
int IndexOf | ( | DiscoveryInformation | item | ) |
Gets the index of the given item .
item | The item to get the index for. |
void Insert | ( | int | index, |
DiscoveryInformation | item | ||
) |
Not supported.
index | Ignored. |
item | Ignored. |
NotSupportedException | This collection is read only. |
bool Remove | ( | DiscoveryInformation | item | ) |
Not supported.
item | Ignored. |
NotSupportedException | This collection is read only. |
void RemoveAt | ( | int | index | ) |
Not supported.
index | Ignored. |
NotSupportedException | This collection is read only. |
|
getset |
Get the entry with the given index .
index | Entry index to get. |
ArgumentOutOfRangeException | If index is outside of range. |
NotSupportedException | Set is not supported. |