Freigeben über


PropertyCollection.CopyTo-Methode

Kopiert alle Objekte in dieser Auflistung in ein Array, beginnend am angegebenen Index im Zielarray.

Namespace: System.DirectoryServices
Assembly: System.DirectoryServices (in system.directoryservices.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As PropertyValueCollection(), _
    index As Integer _
)
'Usage
Dim instance As PropertyCollection
Dim array As PropertyValueCollection()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo (
    PropertyValueCollection[] array,
    int index
)
public:
void CopyTo (
    array<PropertyValueCollection^>^ array, 
    int index
)
public void CopyTo (
    PropertyValueCollection[] array, 
    int index
)
public function CopyTo (
    array : PropertyValueCollection[], 
    index : int
)

Parameter

  • index
    Der nullbasierte Index in array, an dem diese Methode mit dem Kopieren dieser Auflistung beginnt.

Ausnahmen

Ausnahmetyp Bedingung

COMException

Fehler beim Aufruf der zugrunde liegenden Schnittstelle.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

PropertyCollection-Klasse
PropertyCollection-Member
System.DirectoryServices-Namespace