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
'宣言
Sub CopyTo ( _
array As KeyValuePair(Of String, Object)(), _
properties As String(), _
arrayIndex As Integer _
)
'使用
Dim instance As IVsDataObjectPropertyDictionary
Dim array As KeyValuePair(Of String, Object)()
Dim properties As String()
Dim arrayIndex As Integer
instance.CopyTo(array, properties, arrayIndex)
void CopyTo(
KeyValuePair<string, Object>[] array,
string[] properties,
int arrayIndex
)
void CopyTo(
array<KeyValuePair<String^, Object^>>^ array,
array<String^>^ properties,
int arrayIndex
)
function CopyTo(
array : KeyValuePair<String, Object>[],
properties : String[],
arrayIndex : int
)
Parameters
array
Type: []The array to copy the properties into.
properties
Type: []The specific properties to copy. Specify a 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.
Permissions
- 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.
See Also
Reference
IVsDataObjectPropertyDictionary Interface