Share via


SAFEARRAY Members

Include Protected Members
Include Inherited Members

Describes a safe array and its attributes.

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

See Also

Reference

SAFEARRAY Structure

Microsoft.VisualStudio.OLE.Interop Namespace