WebPartManager.DynamicConnections Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the collection of all dynamic connections that currently exist on a Web page.
protected public:
property System::Web::UI::WebControls::WebParts::WebPartConnectionCollection ^ DynamicConnections { System::Web::UI::WebControls::WebParts::WebPartConnectionCollection ^ get(); };
protected internal System.Web.UI.WebControls.WebParts.WebPartConnectionCollection DynamicConnections { get; }
member this.DynamicConnections : System.Web.UI.WebControls.WebParts.WebPartConnectionCollection
Protected Friend ReadOnly Property DynamicConnections As WebPartConnectionCollection
Property Value
A WebPartConnectionCollection that contains references to all dynamic connections on a page.
Remarks
Dynamic connections are connections that are created programmatically, as opposed to statically. Static connections are created by declaring them in the markup of a Web Forms page. Dynamic connections are formed either programmatically, or by a user creating a connection using the connection user interface (UI).
The DynamicConnections collection, though it is read-only and you cannot change its contents, does provide programmatic access to each dynamic connection object.
Note
To perform common operations such as connecting or disconnecting WebPart controls, developers should use the public methods on the WebPartManager class, such as DisconnectWebParts and ConnectWebParts, rather than trying to directly modify connection objects in the DynamicConnections collection.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示