Copies the set of registered data sources to an array, starting at the specified array index.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Public Sub CopyTo ( _
array As DataSource(), _
arrayIndex As Integer _
)
'使用
Dim instance As DataSourceManager
Dim array As DataSource()
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
public void CopyTo(
DataSource[] array,
int arrayIndex
)
public:
virtual void CopyTo(
array<DataSource^>^ array,
int arrayIndex
) sealed
public final function CopyTo(
array : DataSource[],
arrayIndex : int
)
Parameters
array
Type: []An array into which the set of data sources should be copied.
arrayIndex
Type: System.Int32The index in the array at which copying begins.
Implements
ICollection<T>.CopyTo([], Int32)
Permissions
- 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.