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
array
Type: array<System.Collections.Generic.KeyValuePair<String, Object>[]Array into which the connection property's key/value pairs are copied.
arrayIndex
Type: System.Int32The index in the array at which copying should begin.
Implements
ICollection<T>.CopyTo(array<T[], Int32)
.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.