WebPartConnectionCollection.Item[] 属性    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回由指定的参数确定的 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 对象的从零开始的索引位置。
属性值
指定索引处的 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,请使用此属性检索特定连接。