次の方法で共有


DataConnectionProperties.CopyTo Method

Definition

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

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

Parameters

array
KeyValuePair<String,Object>[]

Array into which the connection property's key/value pairs are copied.

arrayIndex
Int32

The index in the array at which copying should begin.

Implements

Applies to