ProviderConnectionPointCollection.Item[] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
根据集合的位置或唯一标识符获取集合的特定成员。
重载
| 名称 | 说明 |
|---|---|
| Item[Int32] |
根据集合中的位置获取集合的成员。 |
| Item[String] |
基于唯一字符串标识符获取集合的成员。 |
Item[Int32]
根据集合中的位置获取集合的成员。
public:
property System::Web::UI::WebControls::WebParts::ProviderConnectionPoint ^ default[int] { System::Web::UI::WebControls::WebParts::ProviderConnectionPoint ^ get(int index); };
public System.Web.UI.WebControls.WebParts.ProviderConnectionPoint this[int index] { get; }
member this.Item(int) : System.Web.UI.WebControls.WebParts.ProviderConnectionPoint
Default Public ReadOnly Property Item(index As Integer) As ProviderConnectionPoint
参数
- index
- Int32
集合中特定 ProviderConnectionPoint 项的索引。
属性值
指定索引处的 A ProviderConnectionPoint 。
另请参阅
适用于
Item[String]
基于唯一字符串标识符获取集合的成员。
public:
property System::Web::UI::WebControls::WebParts::ProviderConnectionPoint ^ default[System::String ^] { System::Web::UI::WebControls::WebParts::ProviderConnectionPoint ^ get(System::String ^ id); };
public System.Web.UI.WebControls.WebParts.ProviderConnectionPoint this[string id] { get; }
member this.Item(string) : System.Web.UI.WebControls.WebParts.ProviderConnectionPoint
Default Public ReadOnly Property Item(id As String) As ProviderConnectionPoint
参数
- id
- String
String作为集合中特定ProviderConnectionPoint项的唯一标识符。
属性值
其 ID 等于值id的第一个 ProviderConnectionPoint 。