Collection
|
The CollectionElement type exposes the following members.
Name | Description | |
---|---|---|
CollectionElement | Creates a new instance of the CollectionElement class. |
Name | Description | |
---|---|---|
Elements | Gets a list of the element in this collection. | |
ReadSize | Gets or sets the size that the file says the collection is. This may differ from the actual size if, upon parsing the file the end of file is reached before the collection becomes as large as the read size. | |
Size | Gets or sets the number of elements in the collection. | |
TagOfElement |
Gets or sets the tag which identifies the element.
(Inherited from Element) | |
TypeOfElement |
Gets the type of the element.
Returns Collection.
(Overrides ElementTypeOfElement) | |
TypeOfValue |
Gets or sets the physical type of the value or values contained
by the element.
(Inherited from Element) |
Name | Description | |
---|---|---|
AddElement | Adds the given element to the collection. | |
AddOrUpdateScalar | Updates the value of the scalar element identified by the given tag or adds a new scalar element if one does not already exist. | |
AddOrUpdateVector | Updates the values contained by the vector element identified by the given tag or adds a new vector element if one does not already exist. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetCollectionByTag | Gets the element whose tag matches the one given as a parameter, type cast to CollectionElement. | |
GetElementsByTag | Gets the elements whose tag matches the one given as a parameter. | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetOrAddScalar | Gets the scalar element identified by the given tag or adds a new scalar element if one does not already exist. | |
GetOrAddVector | Gets the vector element identified by the given tag or adds a new vector element if one does not already exist. | |
GetScalarByTag | Gets the element whose tag matches the one given as a parameter, type cast to ScalarElement. | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
GetVectorByTag | Gets the element whose tag matches the one given as a parameter, type cast to VectorElement. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
RemoveElement | Removes the given element from the collection. | |
RemoveElementsByTag | Removes all elements identified by the given tag from the collection. | |
ToString |
Returns a string that represents the collection.
(Overrides ObjectToString) |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |