ConsumerConnectionPointCollection.CopyTo 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將集合中 ConsumerConnectionPointCollection 的所有項目複製到相容的一維物件陣列 ConsumerConnectionPoint ,從目標陣列指定的索引開始。
public:
void CopyTo(cli::array <System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^> ^ array, int index);
public void CopyTo(System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint[] array, int index);
member this.CopyTo : System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint[] * int -> unit
Public Sub CopyTo (array As ConsumerConnectionPoint(), index As Integer)
參數
- array
- ConsumerConnectionPoint[]
一個以零為基礎的物件陣列 ConsumerConnectionPoint ,接收來自當前 ConsumerConnectionPointCollection的複製項目。
- index
- Int32
目標陣列中開始接收複製內容的位置。
備註
使用此方法將當前 ConsumerConnectionPointCollection 物件的內容複製到指定的零基礎陣列中。 項目從目標陣列指定的索引開始複製。 有了陣列,你就可以用陣列語法來存取物件中的 Array 項目。