Dela via


SafeArrayDefaultRankAttribute.DefaultRank Property (2007 System)

Gets the default rank of the array.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll)

Syntax

'Declaration
Public ReadOnly Property DefaultRank As Integer
'Usage
Dim instance As SafeArrayDefaultRankAttribute 
Dim value As Integer 

value = instance.DefaultRank
public int DefaultRank { get; }
public:
property int DefaultRank {
    int get ();
}
public function get DefaultRank () : int

Property Value

Type: System.Int32
An Int32 value that represents the default rank of the array.

See Also

Reference

SafeArrayDefaultRankAttribute Class

SafeArrayDefaultRankAttribute Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace