Share via


SafeArrayDefaultRankAttribute Constructor

Initializes a new instance of the SafeArrayDefaultRankAttribute class with a default rank.

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

Syntax

'Declaration
Public Sub New ( _
    defaultRank As Integer _
)
public SafeArrayDefaultRankAttribute(
    int defaultRank
)

Parameters

  • defaultRank
    Type: System.Int32
    The default rank of the array.

.NET Framework Security

See Also

Reference

SafeArrayDefaultRankAttribute Class

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace