Share via


WebPartConnectionCollection.Item[] プロパティ

定義

指定したパラメーターによって決定された WebPartConnection オブジェクトを返します。

オーバーロード

Item[Int32]

指定したインデックス位置にある WebPartConnection オブジェクトを取得します。

Item[String]

指定した接続 ID を持つ WebPartConnection オブジェクトを取得します。

Item[Int32]

指定したインデックス位置にある WebPartConnection オブジェクトを取得します。

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

パラメーター

index
Int32

WebPartConnection を取得する位置の、0 から始まるインデックス。

プロパティ値

指定したインデックス位置にある WebPartConnection

注釈

コレクション内のインデックスがわかっている場合は、このプロパティを使用して特定の接続を取得します。 プロパティを使用して、特定の接続を ID 検索できます。

適用対象

Item[String]

指定した接続 ID を持つ WebPartConnection オブジェクトを取得します。

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

パラメーター

id
String

取得する WebPartConnection の接続 ID。

プロパティ値

コレクション内で最初に見つかった、指定した接続 ID を持つ WebPartConnection

注釈

接続 ID がわかっている場合は、このプロパティを使用して特定の接続を取得します。

適用対象