次の方法で共有


PropertyDataCollection.CopyTo メソッド (PropertyData , Int32)

PropertyDataCollection を特別な PropertyData オブジェクト配列にコピーします。

Overloads Public Sub CopyTo( _
   ByVal propertyArray() As PropertyData, _   ByVal index As Integer _)
[C#]
public void CopyTo(PropertyData[] propertyArray,intindex);
[C++]
public: void CopyTo(PropertyData* propertyArray[],intindex);
[JScript]
public function CopyTo(
   propertyArray : PropertyData[],index : int);

パラメータ

  • propertyArray
    コピーされた PropertyDataCollection を格納するコピー先配列。
  • index
    コピーを開始するコピー先の配列内のインデックス。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

PropertyDataCollection クラス | PropertyDataCollection メンバ | System.Management 名前空間 | PropertyDataCollection.CopyTo オーバーロードの一覧