Share via


IVsDataObjectPropertyDictionary.CopyTo Method (array<KeyValuePair<String, Object>[], array<String , Int32)

Copies the specified properties from the current collection of properties to the specified array of KeyValuePair<String, Object> objects.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Sub CopyTo ( _
    array As KeyValuePair(Of String, Object)(), _
    properties As String(), _
    arrayIndex As Integer _
)
void CopyTo(
    KeyValuePair<string, Object>[] array,
    string[] properties,
    int arrayIndex
)
void CopyTo(
    array<KeyValuePair<String^, Object^>>^ array, 
    array<String^>^ properties, 
    int arrayIndex
)
abstract CopyTo : 
        array:KeyValuePair<string, Object>[] * 
        properties:string[] * 
        arrayIndex:int -> unit 
function CopyTo(
    array : KeyValuePair<String, Object>[], 
    properties : String[], 
    arrayIndex : int
)

Parameters

  • properties
    Type: array<System.String[]
    The specific properties to copy. Specify nulla null reference (Nothing in Visual Basic) to copy all the properties.
  • arrayIndex
    Type: System.Int32
    The index of where to start copying in the destination array.

.NET Framework Security

See Also

Reference

IVsDataObjectPropertyDictionary Interface

CopyTo Overload

Microsoft.VisualStudio.Data.Services Namespace