PropertyInformationCollection.CopyTo(PropertyInformation[], Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從目標陣列指定的索引開始,將整個 PropertyInformationCollection 集合複製到相容的一維 Array。
public:
void CopyTo(cli::array <System::Configuration::PropertyInformation ^> ^ array, int index);
public void CopyTo(System.Configuration.PropertyInformation[] array, int index);
member this.CopyTo : System.Configuration.PropertyInformation[] * int -> unit
Public Sub CopyTo (array As PropertyInformation(), index As Integer)
參數
- array
- PropertyInformation[]
一個一維 Array ,即從集合複製 PropertyInformationCollection 元素的目的地。 必須 Array 有零基索引。
- index
- Int32
複製開始的零基索引 array 。
例外狀況
array 是 null。