Compartir a través de


DataConnectionProperties.CopyTo Method

Copies the current set of connection properties and their values to the specified array, starting at the specified array index.

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

Syntax

'Declaration
Public Sub CopyTo ( _
    array As KeyValuePair(Of String, Object)(), _
    arrayIndex As Integer _
)
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

  • arrayIndex
    Type: System.Int32

    The index in the array at which copying should begin.

Implements

ICollection<T>.CopyTo(array<T[], Int32)

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data.Framework Namespace