OdbcParameterCollection.CopyTo 方法
定义
将当前 OdbcParameterCollection 的所有元素复制到指定的对象中。Copies all the elements of the current OdbcParameterCollection to the specified object.
重载
| CopyTo(Array, Int32) |
将当前 OdbcParameterCollection 的所有元素复制到指定的一维 Array 中,并以指定的目标 Array 索引位置作为复制到的起始位置。Copies all the elements of the current OdbcParameterCollection to the specified one-dimensional Array starting at the specified destination Array index. |
| CopyTo(OdbcParameter[], Int32) |
将当前 OdbcParameterCollection 的所有元素复制到指定的 OdbcParameterCollection 中,并以指定的目标索引位置作为复制到的起始位置。Copies all the elements of the current OdbcParameterCollection to the specified OdbcParameterCollection starting at the specified destination index. |
CopyTo(Array, Int32)
将当前 OdbcParameterCollection 的所有元素复制到指定的一维 Array 中,并以指定的目标 Array 索引位置作为复制到的起始位置。Copies all the elements of the current OdbcParameterCollection to the specified one-dimensional Array starting at the specified destination Array index.
public:
override void CopyTo(Array ^ array, int index);
public:
virtual void CopyTo(Array ^ array, int index);
public override void CopyTo (Array array, int index);
public void CopyTo (Array array, int index);
override this.CopyTo : Array * int -> unit
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Overrides Sub CopyTo (array As Array, index As Integer)
Public Sub CopyTo (array As Array, index As Integer)
参数
- array
- Array
作为当前 Array 中的元素的复制目标的一维 OdbcParameterCollection。The one-dimensional Array that is the destination of the elements copied from the current OdbcParameterCollection.
- index
- Int32
一个 32 位整数,表示 Array 中开始复制的位置的索引。A 32-bit integer that represents the index in the Array at which copying starts.
实现
适用于
CopyTo(OdbcParameter[], Int32)
将当前 OdbcParameterCollection 的所有元素复制到指定的 OdbcParameterCollection 中,并以指定的目标索引位置作为复制到的起始位置。Copies all the elements of the current OdbcParameterCollection to the specified OdbcParameterCollection starting at the specified destination index.
public:
void CopyTo(cli::array <System::Data::Odbc::OdbcParameter ^> ^ array, int index);
public void CopyTo (System.Data.Odbc.OdbcParameter[] array, int index);
override this.CopyTo : System.Data.Odbc.OdbcParameter[] * int -> unit
Public Sub CopyTo (array As OdbcParameter(), index As Integer)
参数
- array
- OdbcParameter[]
作为当前 OdbcParameterCollection 中的元素的复制目标的 OdbcParameterCollection。The OdbcParameterCollection that is the destination of the elements copied from the current OdbcParameterCollection.
- index
- Int32
一个 32 位整数,表示 OdbcParameterCollection 中开始复制的位置的索引。A 32-bit integer that represents the index in the OdbcParameterCollection at which copying starts.