WebPartConnectionCollection.Item[] 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.
Returns a WebPartConnection object determined by the specified parameters.
Overloads
Item[Int32] |
Gets the WebPartConnection object at the specified index. |
Item[String] |
Gets a WebPartConnection object with the specified connection ID. |
Item[Int32]
Gets the WebPartConnection object at the specified index.
public:
property System::Web::UI::WebControls::WebParts::WebPartConnection ^ default[int] { System::Web::UI::WebControls::WebParts::WebPartConnection ^ get(int index); void set(int index, System::Web::UI::WebControls::WebParts::WebPartConnection ^ value); };
public System.Web.UI.WebControls.WebParts.WebPartConnection this[int index] { get; set; }
member this.Item(int) : System.Web.UI.WebControls.WebParts.WebPartConnection with get, set
Default Public Property Item(index As Integer) As WebPartConnection
Parameters
- index
- Int32
The zero-based index location at which to get the WebPartConnection.
Property Value
The WebPartConnection at the index specified.
Remarks
Use this property to retrieve a particular connection if you know its index in the collection. You can search for a particular connection using the ID property.
Applies to
Item[String]
Gets a WebPartConnection object with the specified connection ID.
public:
property System::Web::UI::WebControls::WebParts::WebPartConnection ^ default[System::String ^] { System::Web::UI::WebControls::WebParts::WebPartConnection ^ get(System::String ^ id); };
public System.Web.UI.WebControls.WebParts.WebPartConnection this[string id] { get; }
member this.Item(string) : System.Web.UI.WebControls.WebParts.WebPartConnection
Default Public ReadOnly Property Item(id As String) As WebPartConnection
Parameters
- id
- String
The connection ID of the WebPartConnection to be retrieved.
Property Value
The first occurrence of the WebPartConnection with the specified connection ID in the collection.
Remarks
Use this property to retrieve a particular connection if you know the connection ID.