forked from dotnet/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVBFixedArrayAttribute.xml
141 lines (127 loc) · 6.33 KB
/
VBFixedArrayAttribute.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<Type Name="VBFixedArrayAttribute" FullName="Microsoft.VisualBasic.VBFixedArrayAttribute">
<TypeSignature Language="C#" Value="public sealed class VBFixedArrayAttribute : Attribute" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed VBFixedArrayAttribute extends System.Attribute" />
<TypeSignature Language="DocId" Value="T:Microsoft.VisualBasic.VBFixedArrayAttribute" />
<AssemblyInfo>
<AssemblyName>Microsoft.VisualBasic</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Attribute</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.AttributeUsage(System.AttributeTargets.Field, AllowMultiple=false, Inherited=false)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Indicates that an array in a structure or non-local variable should be treated as a fixed-length array.</summary>
<remarks>
<format type="text/markdown"><]
> [!NOTE]
> The `VBFixedArrayAttribute` is informational and does not allocate any storage. The purpose of this attribute is to modify how arrays in structures and non-local variables are used by methods or API calls that recognize the `VBFixedArrayAttribute`. Keep in mind that this attribute does not convert a variable length array to a fixed array and that you must still allocate array storage using `Dim` or `ReDim` statements.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public VBFixedArrayAttribute (int UpperBound1);" />
<MemberSignature Language="ILAsm" Value=".method public specialname rtspecialname instance void .ctor(int32 UpperBound1) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.VisualBasic.VBFixedArrayAttribute.#ctor(System.Int32)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.VisualBasic</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="UpperBound1" Type="System.Int32" />
</Parameters>
<Docs>
<param name="UpperBound1">Initializes the value of upper field, which represents the size of the first dimension of the array.</param>
<summary>Initializes the value of the <see langword="Bounds" /> property.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The constructor runs when the `VBFixedArrayAttribute` attribute is applied to an array.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public VBFixedArrayAttribute (int UpperBound1, int UpperBound2);" />
<MemberSignature Language="ILAsm" Value=".method public specialname rtspecialname instance void .ctor(int32 UpperBound1, int32 UpperBound2) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.VisualBasic.VBFixedArrayAttribute.#ctor(System.Int32,System.Int32)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.VisualBasic</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="UpperBound1" Type="System.Int32" />
<Parameter Name="UpperBound2" Type="System.Int32" />
</Parameters>
<Docs>
<param name="UpperBound1">Initializes the value of upper field, which represents the size of the first dimension of the array.</param>
<param name="UpperBound2">Initializes the value of upper field, which represents the size of the second dimension of the array.</param>
<summary>Initializes the value of the <see langword="Bounds" /> property.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The constructor runs when the `VBFixedArrayAttribute` attribute is applied to an array.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Bounds">
<MemberSignature Language="C#" Value="public int[] Bounds { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32[] Bounds" />
<MemberSignature Language="DocId" Value="P:Microsoft.VisualBasic.VBFixedArrayAttribute.Bounds" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.VisualBasic</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32[]</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the bounds of the array.</summary>
<value>Contains an integer array that represents the bounds of the array.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The constructor sets this property when the `VBFixedArrayAttribute` is applied to an array.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Length">
<MemberSignature Language="C#" Value="public int Length { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Length" />
<MemberSignature Language="DocId" Value="P:Microsoft.VisualBasic.VBFixedArrayAttribute.Length" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.VisualBasic</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the size of the array.</summary>
<value>Contains an integer that represents the number of elements in the array.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The constructor sets this property when the `VBFixedArrayAttribute` is applied to an array.
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>