OracleParameterCollection.CopyTo 方法

定义

将当前 OracleParameterCollection 的所有元素复制到指定的对象中。Copies all the elements of the current OracleParameterCollection to the specified object.

重载

CopyTo(Array, Int32)

将当前 OracleParameterCollection 的所有元素复制到指定的一维 Array 中,并以指定的目标 Array 索引位置作为复制到的起始位置。Copies all the elements of the current OracleParameterCollection to the specified one-dimensional Array starting at the specified destination Array index.

CopyTo(OracleParameter[], Int32)

将当前 OracleParameterCollection 的所有元素复制到指定的 OracleParameterCollection 中,并以指定的目标索引位置作为复制到的起始位置。Copies all the elements of the current OracleParameterCollection to the specified OracleParameterCollection starting at the specified destination index.

CopyTo(Array, Int32)

将当前 OracleParameterCollection 的所有元素复制到指定的一维 Array 中,并以指定的目标 Array 索引位置作为复制到的起始位置。Copies all the elements of the current OracleParameterCollection to the specified one-dimensional Array starting at the specified destination Array index.

public:
 virtual void CopyTo(Array ^ array, int index);
public:
 override void CopyTo(Array ^ array, int index);
public void CopyTo (Array array, int index);
public override void CopyTo (Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Sub CopyTo (array As Array, index As Integer)
Public Overrides Sub CopyTo (array As Array, index As Integer)

参数

array
Array

作为当前 Array 中的元素的复制目标的一维 OracleParameterCollectionThe one-dimensional Array that is the destination of the elements copied from the current OracleParameterCollection.

index
Int32

一个 32 位整数,它表示 Array 中复制开始处的索引。A 32-bit integer that represents the index in the Array at which copying begins.

实现

适用于

CopyTo(OracleParameter[], Int32)

将当前 OracleParameterCollection 的所有元素复制到指定的 OracleParameterCollection 中,并以指定的目标索引位置作为复制到的起始位置。Copies all the elements of the current OracleParameterCollection to the specified OracleParameterCollection starting at the specified destination index.

public:
 void CopyTo(cli::array <System::Data::OracleClient::OracleParameter ^> ^ array, int index);
public void CopyTo (System.Data.OracleClient.OracleParameter[] array, int index);
override this.CopyTo : System.Data.OracleClient.OracleParameter[] * int -> unit
Public Sub CopyTo (array As OracleParameter(), index As Integer)

参数

array
OracleParameter[]

作为当前 OracleParameterCollection 中的元素的复制目标的 OracleParameterCollectionThe OracleParameterCollection that is the destination of the elements copied from the current OracleParameterCollection.

index
Int32

一个 32 位整数,它表示 OracleParameterCollection 中复制开始处的索引。A 32-bit integer that represents the index in the OracleParameterCollection at which copying begins.

适用于