RoleMemberCollection.CopyTo Method
Copies the elements of the collection to an Array, starting at a particular Array index.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
array As Array, _
index As Integer _
)
'Usage
Dim instance As RoleMemberCollection
Dim array As Array
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
Array array,
int index
)
public:
virtual void CopyTo(
Array^ array,
int index
) sealed
abstract CopyTo :
array:Array *
index:int -> unit
override CopyTo :
array:Array *
index:int -> unit
public final function CopyTo(
array : Array,
index : int
)
Parameters
- array
Type: System.Array
The one-dimensional Array that is the destination of the elements copied from the collection.
- index
Type: System.Int32
The zero-based index in array at which copying begins.
Implements
ICollection.CopyTo(Array, Int32)