Redigera

Dela via


WebPartConnectionCollection.Item[] Property

Definition

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.

Applies to