Click or drag to resize

VBArrayDescriptor Class

Represents an old style Visual Basic array descriptor.
Inheritance Hierarchy
SystemObject
  GSF.InteropVBArrayDescriptor

Namespace: GSF.Interop
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public sealed class VBArrayDescriptor : ISupportBinaryImage
View Source

The VBArrayDescriptor type exposes the following members.

Constructors
 NameDescription
Public methodVBArrayDescriptor Initializes a new instance of the VBArrayDescriptor class.
Top
Properties
 NameDescription
Public propertyBinaryLength Gets the length of serialized VBArrayDescriptor.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGenerateBinaryImage Generates binary image of the object and copies it into the given buffer, for BinaryLength bytes.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberOneBasedOneDimensionalArray Returns a VBArrayDescriptor object for a one dimensional array with one-based index.
Public methodStatic memberOneBasedTwoDimensionalArray Returns a VBArrayDescriptor object for a two dimensional array with one-based index.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodStatic memberZeroBasedOneDimensionalArray Returns a VBArrayDescriptor object for a one dimensional array with zero-based index.
Public methodStatic memberZeroBasedTwoDimensionalArray Returns a VBArrayDescriptor object for a two dimensional array with zero-based index.
Top
Extension Methods
 NameDescription
Public Extension MethodBinaryImage Returns a binary image of an object that implements ISupportBinaryImage.
(Defined by ISupportBinaryImageExtensions)
Public Extension MethodCopyBinaryImageToStream Copies binary image of object that implements ISupportBinaryImage to a Stream.
(Defined by ISupportBinaryImageExtensions)
Public Extension MethodCopyImage This is a common optimized block copy function for any kind of data.
(Defined by Common)
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodParseBinaryImageFromStream Parses binary image of object that implements ISupportBinaryImage from a Stream.
(Defined by ISupportBinaryImageExtensions)
Top
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.
See Also