ConsumerConnectionPointCollection.Item[] 属性    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取指定位置处的集合项。
重载
| 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。
注解
如果知道连接点的连接点 ID,请使用此方法从集合中检索连接点。