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.Int32The default rank of the array.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.