Freigeben über


IVsDataObjectPropertyDictionary.CopyTo Method

Definition

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

public:
 void CopyTo(cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ array, cli::array <System::String ^> ^ properties, int arrayIndex);
public void CopyTo (System.Collections.Generic.KeyValuePair<string,object>[] array, string[] properties, int arrayIndex);
abstract member CopyTo : System.Collections.Generic.KeyValuePair<string, obj>[] * string[] * int -> unit
Public Sub CopyTo (array As KeyValuePair(Of String, Object)(), properties As String(), arrayIndex As Integer)

Parameters

array
KeyValuePair<String,Object>[]

The array to copy the properties into.

properties
String[]

The specific properties to copy. Specify null to copy all the properties.

arrayIndex
Int32

The index of where to start copying in the destination array.

Applies to