SAFEARRAY Structure

Describes a safe array and its attributes.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
Public Structure SAFEARRAY
public struct SAFEARRAY
public value class SAFEARRAY
[<Sealed>]
type SAFEARRAY =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The SAFEARRAY type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
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 GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field cbElements The size of an element of the array. The size does not include the size of the data object.
Public field cDims The number of dimensions in this array.
Public field cLocks The number of times the array has been locked without a corresponding unlock.
Public field fFeatures Flags that define the type of the safe array.
Public field pvData Pointer to the data.
Public field rgsabound The SAFEARRAYBOUND for this safe array.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace