Share via


MemberCollection.CopyTo Method (Array, Int32)

Copies the elements of the collection to the specified array.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As Array, _
    index As Integer _
)
'Usage
Dim instance As MemberCollection 
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
    An instance of a one-dimensional Array class in which to copy the elements of the collection. The Array must have zero-based indexing.
  • index
    Type: System.Int32
    The zero-based index at which to begin copying.

Implements

ICollection.CopyTo(Array, Int32)

See Also

Reference

MemberCollection Class

CopyTo Overload

Microsoft.AnalysisServices.AdomdServer Namespace