CollectionElement Class

Represents an Element which is a collection of other elements. Collection elements are part of the physical structure of a PQDIF file. They exist within the body of a Record.

Definition

Namespace: Gemstone.PQDIF.Physical
Assembly: Gemstone.PQDIF (in Gemstone.PQDIF.dll) Version: 1.0.110 -- Release Build+b4919315e8c742e443cd323c6bfaf3fcd0062dd8
public class CollectionElement : Element
Inheritance
Object    Element    CollectionElement

Constructors

CollectionElement Creates a new instance of the CollectionElement class.
CollectionElement(Int32) Creates a new instance of the CollectionElement class.

Properties

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)

Methods

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.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows 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.
GetHashCodeServes 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.
GetTypeGets 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.
MemberwiseCloneCreates 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)

See Also