Gemstone PQDIF Library
Show/Hide TOC

# VectorElement Class

Represents an Element which is a collection of values in a PQDIF file. Vector elements are part of the physical structure of a PQDIF file. They exist within the body of a Record (contained by a CollectionElement).

## Definition

Namespace: Gemstone.PQDIF.Physical
Assembly: Gemstone.PQDIF (in Gemstone.PQDIF.dll) Version: 1.0.160 -- Release Build+3d8dcd482252e3495811fb756d648b05b861027c
C#
View Source Request Example

    public class VectorElement : Element

VB
View Source Request Example

    Public Class VectorElement
    	Inherits Element

C++
View Source Request Example

    public ref class VectorElement : public Element

JavaScript
View Source Request Example

    Gemstone.PQDIF.Physical.VectorElement = function();

    Type.createClass(
    	'Gemstone.PQDIF.Physical.VectorElement',
    	Gemstone.PQDIF.Physical.Element);

Inheritance
  Object Element VectorElement

## Constructors

VectorElement | Initializes a new instance of the VectorElement class

## Properties

Size | Gets or sets the number of values in the vector.
TagOfElement | Gets or sets the tag which identifies the element. (Inherited from Element)
TypeOfElement | Gets the type of the element. Returns Vector. (Overrides ElementTypeOfElement)
TypeOfValue | Gets or sets the physical type of the value or values contained by the element. (Overrides ElementTypeOfValue)

## Methods

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)
Get | Gets the value at the given index as the physical type defined by TypeOfValue and returns it as a generic Object.
GetGuid | Gets the value in this vector as a globally unique identifier.
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetInt1 | Gets a value in this vector as an 8-bit signed integer.
GetInt2 | Gets a value in this vector as a 16-bit signed integer.
GetInt4 | Gets a value in this vector as a 32-bit signed integer.
GetReal4 | Gets a value in this vector as a 32-bit floating point number.
GetReal8 | Gets a value in this vector as a 64-bit floating point number.
GetTimestamp | Gets a value in this vector as a DateTime.
GetType | Gets the Type of the current instance. (Inherited from Object)
GetUInt1 | Gets a value in this vector as an 8-bit unsigned integer.
GetUInt2 | Gets a value in this vector as a 16-bit unsigned integer.
GetUInt4 | Gets a value in this vector as a 32-bit unsigned integer.
GetValues | Gets the raw bytes of the values contained by this vector.
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
Set | Sets the value at the given index as the physical type defined by TypeOfValue.
SetGuid | Sets the value in this vector as a globally unique identifier.
SetInt1 | Sets a value in this vector as an 8-bit signed integer.
SetInt2 | Sets a value in this vector as a 16-bit signed integer.
SetInt4 | Sets a value in this vector as a 32-bit signed integer.
SetReal4 | Sets a value in this vector as a 32-bit floating point number.
SetReal8 | Sets a value in this vector as a 64-bit floating point number.
SetTimestamp | Sets a value in this vector as a DateTime.
SetUInt1 | Sets a value in this vector as an 8-bit unsigned integer.
SetUInt2 | Sets a value in this vector as a 16-bit unsigned integer.
SetUInt4 | Sets a value in this vector as a 32-bit unsigned integer.
SetValues | Sets the raw bytes of the values contained by this vector.
ToString | Returns a string representation of this vector. (Overrides ObjectToString)

## See Also

#### Reference

Gemstone.PQDIF.Physical Namespace