ManagementPackReferenceCollection.CopyTo Method
Copies the collection of items to an array, starting a specific index in the array.
Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
'Usage
Dim instance As ManagementPackReferenceCollection
Dim array As KeyValuePair(Of String, ManagementPackReference)()
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
Syntax
'Declaration
Public Sub CopyTo ( _
array As KeyValuePair(Of String, ManagementPackReference)(), _
arrayIndex As Integer _
)
public void CopyTo (
KeyValuePair<string,ManagementPackReference>[] array,
int arrayIndex
)
public:
virtual void CopyTo (
array<KeyValuePair<String^, ManagementPackReference^>>^ array,
int arrayIndex
) sealed
public final void CopyTo (
KeyValuePair<String,ManagementPackReference>[] array,
int arrayIndex
)
public final function CopyTo (
array : KeyValuePair<String,ManagementPackReference>[],
arrayIndex : int
)
Parameters
- array
The array in which to copy items from the collection.
- arrayIndex
The index in the array to start copying items into.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP
Target Platforms
Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP
See Also
Reference
ManagementPackReferenceCollection Class
ManagementPackReferenceCollection Members
Microsoft.EnterpriseManagement.Configuration Namespace