复制所有 DataExplorerConnection 对象实例添加到数组,开始在指定的索引。
命名空间: Microsoft.VisualStudio.Data
程序集: Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.dll 中)
语法
声明
Public Sub CopyTo ( _
array As DataExplorerConnection(), _
index As Integer _
)
public void CopyTo(
DataExplorerConnection[] array,
int index
)
public:
void CopyTo(
array<DataExplorerConnection^>^ array,
int index
)
member CopyTo :
array:DataExplorerConnection[] *
index:int -> unit
public function CopyTo(
array : DataExplorerConnection[],
index : int
)
参数
- array
类型:array<Microsoft.VisualStudio.Data.DataExplorerConnection[]
是数据资源管理器连接的目标的数组。
- index
类型:System.Int32
从零开始的索引。首先复制的数组中。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。