ConsumerConnectionPointCollection.Item[] 屬性

定義

取得位於指定位置的項目集合。

多載

Item[Int32]

取得位於整數值所指定位置之集合中的項目。

Item[String]

以所指定的 ID 屬性,取得連接點。

Item[Int32]

取得位於整數值所指定位置之集合中的項目。

public:
 property System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ default[int] { System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ get(int index); };
public System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint this[int index] { get; }
member this.Item(int) : System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint
Default Public ReadOnly Property Item(index As Integer) As ConsumerConnectionPoint

參數

index
Int32

集合中特定 ConsumerConnectionPoint 項目的索引。

屬性值

位在集合中特定索引處的 ConsumerConnectionPoint

備註

如果您知道集合的索引值,請使用這個方法從集合擷取連接點。

適用於

Item[String]

以所指定的 ID 屬性,取得連接點。

public:
 property System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ default[System::String ^] { System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ get(System::String ^ id); };
public System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint this[string id] { get; }
member this.Item(string) : System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint
Default Public ReadOnly Property Item(id As String) As ConsumerConnectionPoint

參數

id
String

字串值,表示所要擷取連接點的連接點 ID。

屬性值

在集合中,其 ID 與 id 值相符的第一個 ConsumerConnectionPoint

備註

如果您知道其連接點識別碼,請使用這個方法從集合擷取連接點。

適用於