forked from dotnet/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWebClass.xml
247 lines (220 loc) · 14.1 KB
/
WebClass.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<Type Name="WebClass" FullName="Microsoft.VisualBasic.Compatibility.VB6.WebClass">
<TypeSignature Language="C#" Value="public class WebClass" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi WebClass extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.VisualBasic.Compatibility.VB6.WebClass" />
<AssemblyInfo>
<AssemblyName>Microsoft.VisualBasic.Compatibility</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Enables upgraded Visual Basic 6.0 <see langword="WebClass" /> projects to run in ASP.NET.</summary>
<remarks>
<format type="text/markdown"><], it is converted to an [!INCLUDE[vstecasp](~/includes/vstecasp-md.md)] Web-site project.
Declarations are added to your project: one for the `WebClass` and one for each `WebItem` and `Template` in the `WebClass` project. A `Page_Load` event procedure is added to the project. This creates first a `WebClass` object and then <xref:Microsoft.VisualBasic.Compatibility.VB6.WebItem> objects for each `WebItem` and `Template` associated with the Visual Basic 6.0 `WebClass` project. Finally, in the `Page_Load` event procedure, you will see a call to the `WebClass` Compatibility runtime: <xref:Microsoft.VisualBasic.Compatibility.VB6.WebClass.ProcessEvents%2A>. This enables the runtime to render the <xref:Microsoft.VisualBasic.Compatibility.VB6.WebItem> specified in the Request URL. This code is the only new code added to your upgraded project and serves only to emulate the underlying behavior of the Visual Basic 6.0 `WebClass` runtime.
[!INCLUDE[Note_compatibility](~/includes/note-compatibility-md.md)]
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public WebClass (string UserWebClassName, string WebClassFileName, object ContainingClass);" />
<MemberSignature Language="ILAsm" Value=".method public specialname rtspecialname instance void .ctor(string UserWebClassName, string WebClassFileName, object ContainingClass) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.VisualBasic.Compatibility.VB6.WebClass.#ctor(System.String,System.String,System.Object)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.VisualBasic.Compatibility</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="UserWebClassName" Type="System.String" />
<Parameter Name="WebClassFileName" Type="System.String" />
<Parameter Name="ContainingClass" Type="System.Object" />
</Parameters>
<Docs>
<param name="UserWebClassName">A <see cref="T:System.String" /> that contains the <see langword="Name" /> property for the Visual Basic 6.0 <see langword="WebClass" /> object.</param>
<param name="WebClassFileName">A <see cref="T:System.String" /> that contains the file name for the Visual Basic 6.0 <see langword="WebClass" /> object.</param>
<param name="ContainingClass">A <see cref="T:System.String" /> that contains the <see langword="Application" /> property for the Visual Basic 6.0 <see langword="WebClass" /> object.</param>
<summary>Initializes a new instance of the <see cref="T:Microsoft.VisualBasic.Compatibility.VB6.WebClass" /> class.</summary>
<remarks>
<format type="text/markdown"><] Web-site project.
[!INCLUDE[Note_compatibility](~/includes/note-compatibility-md.md)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Name" />
<MemberSignature Language="DocId" Value="P:Microsoft.VisualBasic.Compatibility.VB6.WebClass.Name" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.VisualBasic.Compatibility</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the name that is used in code to identify a <see langword="WebClass" /> object.</summary>
<value>A <see cref="T:System.String" /> that contains the name for the <see langword="WebClass" /> object.</value>
<remarks>
<format type="text/markdown"><] Web-site project.
[!INCLUDE[Note_compatibility](~/includes/note-compatibility-md.md)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="NextItem">
<MemberSignature Language="C#" Value="public Microsoft.VisualBasic.Compatibility.VB6.WebItem NextItem { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.VisualBasic.Compatibility.VB6.WebItem NextItem" />
<MemberSignature Language="DocId" Value="P:Microsoft.VisualBasic.Compatibility.VB6.WebClass.NextItem" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.VisualBasic.Compatibility</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.VisualBasic.Compatibility.VB6.WebItem</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets another <see cref="T:Microsoft.VisualBasic.Compatibility.VB6.WebItem" /> object in the current <see cref="T:Microsoft.VisualBasic.Compatibility.VB6.WebClass" /> object.</summary>
<value>A <see cref="T:Microsoft.VisualBasic.Compatibility.VB6.WebItem" /> object.</value>
<remarks>
<format type="text/markdown"><] Web-site project.
[!INCLUDE[Note_compatibility](~/includes/note-compatibility-md.md)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ProcessEvents">
<MemberSignature Language="C#" Value="public void ProcessEvents (System.Web.HttpRequest Request);" />
<MemberSignature Language="ILAsm" Value=".method public instance void ProcessEvents(class System.Web.HttpRequest Request) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.VisualBasic.Compatibility.VB6.WebClass.ProcessEvents(System.Web.HttpRequest)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.VisualBasic.Compatibility</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="Request" Type="System.Web.HttpRequest" />
</Parameters>
<Docs>
<param name="Request">An <see cref="T:System.Web.HttpRequest" /> object.</param>
<summary>Renders a <see cref="T:Microsoft.VisualBasic.Compatibility.VB6.WebItem" /> in a <see cref="T:Microsoft.VisualBasic.Compatibility.VB6.WebClass" />.</summary>
<remarks>
<format type="text/markdown"><] Web-site project.
[!INCLUDE[Note_compatibility](~/includes/note-compatibility-md.md)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="UrlData">
<MemberSignature Language="C#" Value="public string UrlData { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string UrlData" />
<MemberSignature Language="DocId" Value="P:Microsoft.VisualBasic.Compatibility.VB6.WebClass.UrlData" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.VisualBasic.Compatibility</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a parameter that is appended to the end of any URL that is generated by using the <see cref="Overload:Microsoft.VisualBasic.Compatibility.VB6.WebClass.URLFor" /> method.</summary>
<value>A <see cref="T:System.String" /> that contains the parameter that will be appended.</value>
<remarks>
<format type="text/markdown"><] Web-site project.
[!INCLUDE[Note_compatibility](~/includes/note-compatibility-md.md)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="URLFor">
<MemberSignature Language="C#" Value="public string URLFor (Microsoft.VisualBasic.Compatibility.VB6.WebItem obj, string EventName = "");" />
<MemberSignature Language="ILAsm" Value=".method public instance string URLFor(class Microsoft.VisualBasic.Compatibility.VB6.WebItem obj, string EventName) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.VisualBasic.Compatibility.VB6.WebClass.URLFor(Microsoft.VisualBasic.Compatibility.VB6.WebItem,System.String)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.VisualBasic.Compatibility</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="obj" Type="Microsoft.VisualBasic.Compatibility.VB6.WebItem" />
<Parameter Name="EventName" Type="System.String" />
</Parameters>
<Docs>
<param name="obj">A <see cref="T:Microsoft.VisualBasic.Compatibility.VB6.WebItem" /> object for which you want to generate a URL and raise an event.</param>
<param name="EventName">Optional. A <see cref="T:System.String" /> that refers to an event in the <see cref="T:Microsoft.VisualBasic.Compatibility.VB6.WebItem" />.</param>
<summary>Specifies the URL that the system must have to reference a <see cref="T:Microsoft.VisualBasic.Compatibility.VB6.WebClass" /><see cref="T:Microsoft.VisualBasic.Compatibility.VB6.WebItem" /> in the browser.</summary>
<returns>A <see cref="T:System.String" /> that contains the URL.</returns>
<remarks>
<format type="text/markdown"><] Web-site project.
[!INCLUDE[Note_compatibility](~/includes/note-compatibility-md.md)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="URLFor">
<MemberSignature Language="C#" Value="public string URLFor (string objName, string EventName = "");" />
<MemberSignature Language="ILAsm" Value=".method public instance string URLFor(string objName, string EventName) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.VisualBasic.Compatibility.VB6.WebClass.URLFor(System.String,System.String)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.VisualBasic.Compatibility</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="objName" Type="System.String" />
<Parameter Name="EventName" Type="System.String" />
</Parameters>
<Docs>
<param name="objName">A <see cref="T:System.String" /> that contains the name of the <see cref="T:Microsoft.VisualBasic.Compatibility.VB6.WebItem" /> object for which you want to generate a URL and raise an event.</param>
<param name="EventName">Optional. A <see cref="T:System.String" /> that refers to an event in the <see cref="T:Microsoft.VisualBasic.Compatibility.VB6.WebItem" />.</param>
<summary>Specifies the URL that the system must have to reference a <see cref="T:Microsoft.VisualBasic.Compatibility.VB6.WebClass" /><see cref="T:Microsoft.VisualBasic.Compatibility.VB6.WebItem" /> in the browser.</summary>
<returns>A <see cref="T:System.String" /> that contains the URL.</returns>
<remarks>
<format type="text/markdown"><] Web-site project.
[!INCLUDE[Note_compatibility](~/includes/note-compatibility-md.md)]
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>