/
WebPartConnectionsEventArgs.xml
338 lines (313 loc) · 32.4 KB
/
WebPartConnectionsEventArgs.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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
<Type Name="WebPartConnectionsEventArgs" FullName="System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs">
<TypeSignature Language="C#" Value="public class WebPartConnectionsEventArgs : EventArgs" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit WebPartConnectionsEventArgs extends System.EventArgs" />
<TypeSignature Language="DocId" Value="T:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs" />
<TypeSignature Language="VB.NET" Value="Public Class WebPartConnectionsEventArgs
Inherits EventArgs" />
<TypeSignature Language="F#" Value="type WebPartConnectionsEventArgs = class
 inherit EventArgs" />
<TypeSignature Language="C++ CLI" Value="public ref class WebPartConnectionsEventArgs : EventArgs" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.EventArgs</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Provides the event data for the <see cref="E:System.Web.UI.WebControls.WebParts.WebPartManager.WebPartsConnected" /> and <see cref="E:System.Web.UI.WebControls.WebParts.WebPartManager.WebPartsDisconnected" /> events of the <see cref="T:System.Web.UI.WebControls.WebParts.WebPartManager" /> control.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Using the capabilities of the Web Parts control set, it is possible to create a connection between two <xref:System.Web.UI.WebControls.WebParts.WebPart> or other server controls, with one control acting as the provider, and the other acting as the consumer of data. To form a connection, the two controls must reside in a zone that inherits from the <xref:System.Web.UI.WebControls.WebParts.WebPartZoneBase> class (such as the <xref:System.Web.UI.WebControls.WebParts.WebPartZone> control), and they must be designed correctly to share data through a common interface. For details about Web Parts connections, see <xref:System.Web.UI.WebControls.WebParts.WebPartConnection> and [Web Parts Connections Overview](https://docs.microsoft.com/previous-versions/aspnet/ms178187(v=vs.100)).
The <xref:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs> class passes event data to methods that use the <xref:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventHandler> delegate to handle events. There are two such connection-related methods that raise events and use the <xref:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs> class to provide event data. Both are members of the <xref:System.Web.UI.WebControls.WebParts.WebPartManager> control. The <xref:System.Web.UI.WebControls.WebParts.WebPartManager.OnWebPartsConnected%2A> method raises the <xref:System.Web.UI.WebControls.WebParts.WebPartManager.WebPartsConnected> event after two server controls have successfully connected, and the <xref:System.Web.UI.WebControls.WebParts.WebPartManager.OnWebPartsDisconnected%2A> method raises the <xref:System.Web.UI.WebControls.WebParts.WebPartManager.WebPartsDisconnected> event after two server controls have been disconnected.
Developers can create custom event handler methods for the <xref:System.Web.UI.WebControls.WebParts.WebPartManager.WebPartsConnected> and <xref:System.Web.UI.WebControls.WebParts.WebPartManager.WebPartsDisconnected> events, and in those methods, they can use the <xref:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs> class to access details of a connection. For example, a developer can declare the `OnWebPartsConnected` attribute on the `<asp:webpartmanager>` element, and assign to it a custom method name that will handle the event. In the custom handler method, developers can access the details of a connection by using the <xref:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs> object that is passed to the method as a parameter.
The <xref:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs> class has two overloads of the constructor. The <xref:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.%23ctor%28System.Web.UI.WebControls.WebParts.WebPart%2CSystem.Web.UI.WebControls.WebParts.ProviderConnectionPoint%2CSystem.Web.UI.WebControls.WebParts.WebPart%2CSystem.Web.UI.WebControls.WebParts.ConsumerConnectionPoint%29?displayProperty=nameWithType> constructor is the default; it initializes the property values for the class. The <xref:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.%23ctor%28System.Web.UI.WebControls.WebParts.WebPart%2CSystem.Web.UI.WebControls.WebParts.ProviderConnectionPoint%2CSystem.Web.UI.WebControls.WebParts.WebPart%2CSystem.Web.UI.WebControls.WebParts.ConsumerConnectionPoint%2CSystem.Web.UI.WebControls.WebParts.WebPartConnection%29?displayProperty=nameWithType> constructor calls the parameterless constructor, and then it also initializes the <xref:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.Connection%2A> property.
The <xref:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs> class has several properties, all of which refer to the essential aspects of a Web Parts connection. The <xref:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.Connection%2A> property refers to the associated <xref:System.Web.UI.WebControls.WebParts.WebPartConnection> object that represents the entire connection. The <xref:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.Provider%2A> property references a <xref:System.Web.UI.WebControls.WebParts.WebPart> or other server control acting as the provider in the connection, and the <xref:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.Consumer%2A> property references a <xref:System.Web.UI.WebControls.WebParts.WebPart> or server control acting as the consumer. The <xref:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.ProviderConnectionPoint%2A> property references the connection's <xref:System.Web.UI.WebControls.WebParts.ProviderConnectionPoint> object, while the <xref:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.ConsumerConnectionPoint%2A> property references the <xref:System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint> object.
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventHandler" />
<altmember cref="E:System.Web.UI.WebControls.WebParts.WebPartManager.WebPartsConnected" />
<altmember cref="E:System.Web.UI.WebControls.WebParts.WebPartManager.WebPartsDisconnected" />
<altmember cref="M:System.Web.UI.WebControls.WebParts.WebPartManager.OnWebPartsConnected(System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs)" />
<altmember cref="M:System.Web.UI.WebControls.WebParts.WebPartManager.OnWebPartsDisconnected(System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs)" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/ms178187(v=vs.100)">Web Parts Connections Overview</related>
</Docs>
<Members>
<MemberGroup MemberName=".ctor">
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs" /> class.</summary>
</Docs>
</MemberGroup>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public WebPartConnectionsEventArgs (System.Web.UI.WebControls.WebParts.WebPart provider, System.Web.UI.WebControls.WebParts.ProviderConnectionPoint providerConnectionPoint, System.Web.UI.WebControls.WebParts.WebPart consumer, System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint consumerConnectionPoint);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Web.UI.WebControls.WebParts.WebPart provider, class System.Web.UI.WebControls.WebParts.ProviderConnectionPoint providerConnectionPoint, class System.Web.UI.WebControls.WebParts.WebPart consumer, class System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint consumerConnectionPoint) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.#ctor(System.Web.UI.WebControls.WebParts.WebPart,System.Web.UI.WebControls.WebParts.ProviderConnectionPoint,System.Web.UI.WebControls.WebParts.WebPart,System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (provider As WebPart, providerConnectionPoint As ProviderConnectionPoint, consumer As WebPart, consumerConnectionPoint As ConsumerConnectionPoint)" />
<MemberSignature Language="F#" Value="new System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs : System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ProviderConnectionPoint * System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint -> System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs" Usage="new System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs (provider, providerConnectionPoint, consumer, consumerConnectionPoint)" />
<MemberSignature Language="C++ CLI" Value="public:
 WebPartConnectionsEventArgs(System::Web::UI::WebControls::WebParts::WebPart ^ provider, System::Web::UI::WebControls::WebParts::ProviderConnectionPoint ^ providerConnectionPoint, System::Web::UI::WebControls::WebParts::WebPart ^ consumer, System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ consumerConnectionPoint);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="provider" Type="System.Web.UI.WebControls.WebParts.WebPart" />
<Parameter Name="providerConnectionPoint" Type="System.Web.UI.WebControls.WebParts.ProviderConnectionPoint" />
<Parameter Name="consumer" Type="System.Web.UI.WebControls.WebParts.WebPart" />
<Parameter Name="consumerConnectionPoint" Type="System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint" />
</Parameters>
<Docs>
<param name="provider">The control acting as the provider.</param>
<param name="providerConnectionPoint">The provider connection point.</param>
<param name="consumer">The control acting as the consumer.</param>
<param name="consumerConnectionPoint">The consumer connection point.</param>
<summary>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs" /> class without requiring a <see cref="T:System.Web.UI.WebControls.WebParts.WebPartConnection" /> object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This is the parameterless constructor. It does not require a <xref:System.Web.UI.WebControls.WebParts.WebPartConnection> object. The constructor initializes the values of its properties by assigning each of its connection-related parameter objects to the corresponding property.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public WebPartConnectionsEventArgs (System.Web.UI.WebControls.WebParts.WebPart provider, System.Web.UI.WebControls.WebParts.ProviderConnectionPoint providerConnectionPoint, System.Web.UI.WebControls.WebParts.WebPart consumer, System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint consumerConnectionPoint, System.Web.UI.WebControls.WebParts.WebPartConnection connection);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Web.UI.WebControls.WebParts.WebPart provider, class System.Web.UI.WebControls.WebParts.ProviderConnectionPoint providerConnectionPoint, class System.Web.UI.WebControls.WebParts.WebPart consumer, class System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint consumerConnectionPoint, class System.Web.UI.WebControls.WebParts.WebPartConnection connection) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.#ctor(System.Web.UI.WebControls.WebParts.WebPart,System.Web.UI.WebControls.WebParts.ProviderConnectionPoint,System.Web.UI.WebControls.WebParts.WebPart,System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint,System.Web.UI.WebControls.WebParts.WebPartConnection)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (provider As WebPart, providerConnectionPoint As ProviderConnectionPoint, consumer As WebPart, consumerConnectionPoint As ConsumerConnectionPoint, connection As WebPartConnection)" />
<MemberSignature Language="F#" Value="new System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs : System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ProviderConnectionPoint * System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint * System.Web.UI.WebControls.WebParts.WebPartConnection -> System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs" Usage="new System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs (provider, providerConnectionPoint, consumer, consumerConnectionPoint, connection)" />
<MemberSignature Language="C++ CLI" Value="public:
 WebPartConnectionsEventArgs(System::Web::UI::WebControls::WebParts::WebPart ^ provider, System::Web::UI::WebControls::WebParts::ProviderConnectionPoint ^ providerConnectionPoint, System::Web::UI::WebControls::WebParts::WebPart ^ consumer, System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ consumerConnectionPoint, System::Web::UI::WebControls::WebParts::WebPartConnection ^ connection);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="provider" Type="System.Web.UI.WebControls.WebParts.WebPart" />
<Parameter Name="providerConnectionPoint" Type="System.Web.UI.WebControls.WebParts.ProviderConnectionPoint" />
<Parameter Name="consumer" Type="System.Web.UI.WebControls.WebParts.WebPart" />
<Parameter Name="consumerConnectionPoint" Type="System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint" />
<Parameter Name="connection" Type="System.Web.UI.WebControls.WebParts.WebPartConnection" />
</Parameters>
<Docs>
<param name="provider">The <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> or server control acting as the provider.</param>
<param name="providerConnectionPoint">The <see cref="T:System.Web.UI.WebControls.WebParts.ProviderConnectionPoint" /> for the connection.</param>
<param name="consumer">The <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> or server control acting as the consumer.</param>
<param name="consumerConnectionPoint">The <see cref="T:System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint" /> for the connection.</param>
<param name="connection">The <see cref="T:System.Web.UI.WebControls.WebParts.WebPartConnection" /> object.</param>
<summary>Initializes a new instance of the class using the specified <see cref="T:System.Web.UI.WebControls.WebParts.WebPartConnection" /> object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This version of the <xref:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.%23ctor%2A> constructor is used when a <xref:System.Web.UI.WebControls.WebParts.WebPartConnection> object is available.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Connection">
<MemberSignature Language="C#" Value="public System.Web.UI.WebControls.WebParts.WebPartConnection Connection { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Web.UI.WebControls.WebParts.WebPartConnection Connection" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.Connection" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Connection As WebPartConnection" />
<MemberSignature Language="F#" Value="member this.Connection : System.Web.UI.WebControls.WebParts.WebPartConnection" Usage="System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.Connection" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Web::UI::WebControls::WebParts::WebPartConnection ^ Connection { System::Web::UI::WebControls::WebParts::WebPartConnection ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.WebParts.WebPartConnection</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:System.Web.UI.WebControls.WebParts.WebPartConnection" /> object of the current connection.</summary>
<value>The current <see cref="T:System.Web.UI.WebControls.WebParts.WebPartConnection" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.WebPartConnection> object contains all the details of a Web Parts connection, including references to the provider control, the provider's connection point, the consumer control, and the consumer's connection point.
For details about Web Parts connections, see <xref:System.Web.UI.WebControls.WebParts.WebPartConnection>, <xref:System.Web.UI.WebControls.WebParts.ConnectionPoint>, and [Web Parts Connections Overview](https://docs.microsoft.com/previous-versions/aspnet/ms178187(v=vs.100)).
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.WebParts.WebPartConnection" />
<altmember cref="T:System.Web.UI.WebControls.WebParts.ConnectionPoint" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/ms178187(v=vs.100)">Web Parts Connections Overview</related>
</Docs>
</Member>
<Member MemberName="Consumer">
<MemberSignature Language="C#" Value="public System.Web.UI.WebControls.WebParts.WebPart Consumer { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Web.UI.WebControls.WebParts.WebPart Consumer" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.Consumer" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Consumer As WebPart" />
<MemberSignature Language="F#" Value="member this.Consumer : System.Web.UI.WebControls.WebParts.WebPart" Usage="System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.Consumer" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Web::UI::WebControls::WebParts::WebPart ^ Consumer { System::Web::UI::WebControls::WebParts::WebPart ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.WebParts.WebPart</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> control that is acting as the consumer in the connection.</summary>
<value>The <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> acting as the consumer.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A connection between controls in a Web Parts zone requires one control to act as the provider and another to act as the consumer. Each control must also have a connection point defined; in the consumer's case, the connection point must be a <xref:System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint> object.
For details about Web Parts connections, see <xref:System.Web.UI.WebControls.WebParts.WebPartConnection>, <xref:System.Web.UI.WebControls.WebParts.ConnectionPoint>, and [Web Parts Connections Overview](https://docs.microsoft.com/previous-versions/aspnet/ms178187(v=vs.100)).
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.WebParts.WebPartConnection" />
<altmember cref="T:System.Web.UI.WebControls.WebParts.ConnectionPoint" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/ms178187(v=vs.100)">Web Parts Connections Overview</related>
</Docs>
</Member>
<Member MemberName="ConsumerConnectionPoint">
<MemberSignature Language="C#" Value="public System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint ConsumerConnectionPoint { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint ConsumerConnectionPoint" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.ConsumerConnectionPoint" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property ConsumerConnectionPoint As ConsumerConnectionPoint" />
<MemberSignature Language="F#" Value="member this.ConsumerConnectionPoint : System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint" Usage="System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.ConsumerConnectionPoint" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ ConsumerConnectionPoint { System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint" /> object of the current connection.</summary>
<value>The <see cref="T:System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint" /> of the current connection.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A connection between controls in a Web Parts zone requires one control to act as the provider and another to act as the consumer. Each control must also have a connection point defined; in the consumer's case, the connection point must be a <xref:System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint> object.
For details about Web Parts connections, see <xref:System.Web.UI.WebControls.WebParts.WebPartConnection>, <xref:System.Web.UI.WebControls.WebParts.ConnectionPoint>, and [Web Parts Connections Overview](https://docs.microsoft.com/previous-versions/aspnet/ms178187(v=vs.100)).
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.WebParts.WebPartConnection" />
<altmember cref="T:System.Web.UI.WebControls.WebParts.ConnectionPoint" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/ms178187(v=vs.100)">Web Parts Connections Overview</related>
</Docs>
</Member>
<Member MemberName="Provider">
<MemberSignature Language="C#" Value="public System.Web.UI.WebControls.WebParts.WebPart Provider { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Web.UI.WebControls.WebParts.WebPart Provider" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.Provider" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Provider As WebPart" />
<MemberSignature Language="F#" Value="member this.Provider : System.Web.UI.WebControls.WebParts.WebPart" Usage="System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.Provider" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Web::UI::WebControls::WebParts::WebPart ^ Provider { System::Web::UI::WebControls::WebParts::WebPart ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.WebParts.WebPart</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> control that is acting as the provider in the connection.</summary>
<value>The <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> acting as the provider.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A connection between controls in a Web Parts zone requires one control to act as the provider and another to act as the consumer. Each control must also have a connection point defined; in the provider's case, the connection point must be a <xref:System.Web.UI.WebControls.WebParts.ProviderConnectionPoint> object.
For details about Web Parts connections, see <xref:System.Web.UI.WebControls.WebParts.WebPartConnection>, <xref:System.Web.UI.WebControls.WebParts.ConnectionPoint>, and [Web Parts Connections Overview](https://docs.microsoft.com/previous-versions/aspnet/ms178187(v=vs.100)).
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.WebParts.WebPartConnection" />
<altmember cref="T:System.Web.UI.WebControls.WebParts.ConnectionPoint" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/ms178187(v=vs.100)">Web Parts Connections Overview</related>
</Docs>
</Member>
<Member MemberName="ProviderConnectionPoint">
<MemberSignature Language="C#" Value="public System.Web.UI.WebControls.WebParts.ProviderConnectionPoint ProviderConnectionPoint { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Web.UI.WebControls.WebParts.ProviderConnectionPoint ProviderConnectionPoint" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.ProviderConnectionPoint" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property ProviderConnectionPoint As ProviderConnectionPoint" />
<MemberSignature Language="F#" Value="member this.ProviderConnectionPoint : System.Web.UI.WebControls.WebParts.ProviderConnectionPoint" Usage="System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.ProviderConnectionPoint" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Web::UI::WebControls::WebParts::ProviderConnectionPoint ^ ProviderConnectionPoint { System::Web::UI::WebControls::WebParts::ProviderConnectionPoint ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.WebParts.ProviderConnectionPoint</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:System.Web.UI.WebControls.WebParts.ProviderConnectionPoint" /> object of the current connection.</summary>
<value>The <see cref="T:System.Web.UI.WebControls.WebParts.ProviderConnectionPoint" /> of the current connection.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A connection between controls in a Web Parts zone requires one control to act as the provider and another to act as the consumer. Each control must also have a connection point defined; in the provider's case, the connection point must be a <xref:System.Web.UI.WebControls.WebParts.ProviderConnectionPoint> object.
For details about Web Parts connections, see <xref:System.Web.UI.WebControls.WebParts.WebPartConnection>, <xref:System.Web.UI.WebControls.WebParts.ConnectionPoint>, and [Web Parts Connections Overview](https://docs.microsoft.com/previous-versions/aspnet/ms178187(v=vs.100)).
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.WebParts.WebPartConnection" />
<altmember cref="T:System.Web.UI.WebControls.WebParts.ConnectionPoint" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/ms178187(v=vs.100)">Web Parts Connections Overview</related>
</Docs>
</Member>
</Members>
</Type>