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<TKey, TValue> 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
array
Type: array<System.Collections.Generic.KeyValuePair<String, Object>[]The array to copy the properties into.
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.Int32The index of where to start copying in the destination array.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.