Click or drag to resize

CollectionElement Methods

The CollectionElement type exposes the following members.

Methods
  Name Description
Public method AddElement Adds the given element to the collection.
Public method 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.
Public method 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.
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public method GetCollectionByTag Gets the element whose tag matches the one given as a parameter, type cast to CollectionElement.
Public method GetElementsByTag Gets the elements whose tag matches the one given as a parameter.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetOrAddScalar Gets the scalar element identified by the given tag or adds a new scalar element if one does not already exist.
Public method GetOrAddVector Gets the vector element identified by the given tag or adds a new vector element if one does not already exist.
Public method GetScalarByTag Gets the element whose tag matches the one given as a parameter, type cast to ScalarElement.
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method GetVectorByTag Gets the element whose tag matches the one given as a parameter, type cast to VectorElement.
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method RemoveElement Removes the given element from the collection.
Public method RemoveElementsByTag Removes all elements identified by the given tag from the collection.
Public method ToString Returns a string that represents the collection.
(Overrides ObjectToString)
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also