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 | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Fields
Name | Description | |
---|---|---|
cbElements | The size of an element of the array. The size does not include the size of the data object. | |
cDims | The number of dimensions in this array. | |
cLocks | The number of times the array has been locked without a corresponding unlock. | |
fFeatures | Flags that define the type of the safe array. | |
pvData | Pointer to the data. | |
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.