CVB.Net 15.0
Loading...
Searching...
No Matches
Classifier.ModelInformationCollection Class Referencesealed

Collection of model informations. More...

Inherits InfoCollection< TParent, TInfo >.

Protected Member Functions

override int GetCount ()
 Retrieves the number of elements in the collection.
 
override ModelInformation GetInfo (int index)
 Retrieves the indexed model information block.
 
- Protected Member Functions inherited from InfoCollection< TParent, TInfo >
 InfoCollection (TParent parent)
 Constructor.
 
int GetCount ()
 Function with which the collection queries the number of elements.
 
TInfo GetInfo (int index)
 Function with which the collection retrieves the information object with the given index.
 

Properties

ModelInformation this[int index] [get, set]
 Indexed access to the individual model information.
 
- Properties inherited from InfoCollection< TParent, TInfo >
int Count [get]
 Number of elements in the collection.
 

Additional Inherited Members

- Public Member Functions inherited from InfoCollection< TParent, TInfo >
TInfo[] ToArray ()
 Converts this collection into an array.
 
- Protected Attributes inherited from InfoCollection< TParent, TInfo >
readonly TParent Parent
 Parent image reference helps keeping track of the lifetime and provides the information basis for index access.
 

Detailed Description

Collection of model informations.

Member Function Documentation

◆ GetCount()

override int GetCount ( )
protected

Retrieves the number of elements in the collection.

Returns
Number of elements in the collection.
Exceptions
ObjectDisposedExceptionIf the parent image has already been disposed of

◆ GetInfo()

override ModelInformation GetInfo ( int index)
protected

Retrieves the indexed model information block.

Parameters
indexindex of the collection to be accessed
Returns
model information
Exceptions
ArgumentOutOfRangeExceptionIf the index is invalid
ObjectDisposedExceptionIf the parent image has already been disposed of

Property Documentation

◆ this[int index]

ModelInformation this[int index]
getset

Indexed access to the individual model information.

Parameters
indexindex of the model to be accessed
Returns
model information object
Exceptions
ArgumentOutOfRangeExceptionIf the index is invalid
ObjectDisposedExceptionIf the parent image has already been disposed of