語言

ConsumerConnectionPointCollection.Item[] 屬性

定義

在指定地點取得收集物品。

多載

名稱 Description
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 項目的索引。

屬性值

A 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。

屬性值

集合中第一個 ConsumerConnectionPoint ID 與 的 id值相符的集合。

備註

如果你知道集合的連接點 ID,可以用這個方法從集合中取得一個連接點。

適用於