PropertyDictionary.CopyTo Method
Copies the dictionary entries to a one-dimensional Array instance at the specified index.
Namespace: Microsoft.SqlServer.Management.Data
Assembly: Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
array As KeyValuePair(Of String, Object)(), _
arrayIndex As Integer _
)
'Usage
Dim instance As PropertyDictionary
Dim array As KeyValuePair(Of String, Object)()
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
public void CopyTo(
KeyValuePair<string, Object>[] array,
int arrayIndex
)
public:
virtual void CopyTo(
array<KeyValuePair<String^, Object^>>^ array,
int arrayIndex
) sealed
abstract CopyTo :
array:KeyValuePair<string, Object>[] *
arrayIndex:int -> unit
override CopyTo :
array:KeyValuePair<string, Object>[] *
arrayIndex:int -> unit
public final function CopyTo(
array : KeyValuePair<String, Object>[],
arrayIndex : int
)
Parameters
- array
Type: array<System.Collections.Generic.KeyValuePair<String, Object>[]
The one-dimensional Array that is the destination of the DictionaryEntry objects copied from the dictionary. The Array must have zero-based indexing.
- arrayIndex
Type: System.Int32
The zero-based index in array at which copying begins.