PropertyDataCollection.CopyTo 方法

定义

PropertyDataCollection 对象复制到数组。Copies the PropertyDataCollection object into an array.

重载

CopyTo(Array, Int32)

PropertyDataCollection 复制到一个数组中。Copies the PropertyDataCollection into an array.

CopyTo(PropertyData[], Int32)

PropertyDataCollection 复制到一个专用的 PropertyData 对象数组。Copies the PropertyDataCollection to a specialized PropertyData object array.

CopyTo(Array, Int32)

PropertyDataCollection 复制到一个数组中。Copies the PropertyDataCollection into an array.

public:
 virtual void CopyTo(Array ^ array, int index);
public void CopyTo (Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit

参数

array
Array

PropertyDataCollection 所要复制到的数组。The array to which to copy the PropertyDataCollection.

index
Int32

复制操作开始所在的索引。The index from which to start copying.

实现

注解

.NET Framework 安全性.NET Framework Security

对直接调用方的完全信任。Full trust for the immediate caller. 此成员不能由部分信任的代码使用。This member cannot be used by partially trusted code. 有关详细信息, 请参阅从部分受信任的代码使用库For more information, see Using Libraries from Partially Trusted Code.

另请参阅

CopyTo(PropertyData[], Int32)

PropertyDataCollection 复制到一个专用的 PropertyData 对象数组。Copies the PropertyDataCollection to a specialized PropertyData object array.

public:
 void CopyTo(cli::array <System::Management::PropertyData ^> ^ propertyArray, int index);
public void CopyTo (System.Management.PropertyData[] propertyArray, int index);
member this.CopyTo : System.Management.PropertyData[] * int -> unit
Public Sub CopyTo (propertyArray As PropertyData(), index As Integer)

参数

propertyArray
PropertyData[]

将包含要复制的 PropertyDataCollection 的目标数组。The destination array to contain the copied PropertyDataCollection.

index
Int32

目标数组中开始复制处的索引。The index in the destination array from which to start copying.

注解

.NET Framework 安全性.NET Framework Security

对直接调用方的完全信任。Full trust for the immediate caller. 此成员不能由部分信任的代码使用。This member cannot be used by partially trusted code. 有关详细信息, 请参阅从部分受信任的代码使用库For more information, see Using Libraries from Partially Trusted Code.

适用于