VBArrayDescriptor Class

Represents an old style Visual Basic array descriptor.

Definition

Namespace: Gemstone.Interop
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.171 -- Release Build+4f4d518944b843c059d40b523747cd410a7c216d
public sealed class VBArrayDescriptor : ISupportBinaryImage
Inheritance
Object    VBArrayDescriptor
Implements
ISupportBinaryImage

Remarks

This class is used to mimic the binary array descriptor used when an array is serialized into a file using older Visual Basic applications (VB 6 and prior), this way old VB apps can still deserialize an array stored in a file written by a .NET application and vice versa.

Constructors

VBArrayDescriptor Initializes a new instance of the VBArrayDescriptor class.

Properties

BinaryLength Gets the length of serialized VBArrayDescriptor.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GenerateBinaryImage Generates binary image of the object and copies it into the given buffer, for BinaryLength bytes.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
OneBasedOneDimensionalArray Returns a VBArrayDescriptor object for a one dimensional array with one-based index.
OneBasedTwoDimensionalArray Returns a VBArrayDescriptor object for a two dimensional array with one-based index.
ToStringReturns a string that represents the current object.
(Inherited from Object)
ZeroBasedOneDimensionalArray Returns a VBArrayDescriptor object for a one dimensional array with zero-based index.
ZeroBasedTwoDimensionalArray Returns a VBArrayDescriptor object for a two dimensional array with zero-based index.

Extension Methods

BinaryImage Returns a binary image of an object that implements ISupportBinaryImage.
(Defined by ISupportBinaryImageExtensions)
BinaryImageAsync Asynchronously returns a binary image of an object that implements ISupportBinaryImage.
(Defined by ISupportBinaryImageExtensions)
CopyBinaryImageToStream Copies the binary image of the specified ISupportBinaryImage to the provided Stream.
(Defined by ISupportBinaryImageExtensions)
CopyBinaryImageToStreamAsync Asynchronously copies the binary image of an object that implements ISupportBinaryImage to the specified Stream.
(Defined by ISupportBinaryImageExtensions)
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)
ParseBinaryImageFromStream Parses a binary image from the specified Stream into an object that implements ISupportBinaryImage.
(Defined by ISupportBinaryImageExtensions)
ParseBinaryImageFromStreamAsync Asynchronously parses a binary image from the specified Stream into an object that implements ISupportBinaryImage.
(Defined by ISupportBinaryImageExtensions)

See Also