Share via


MemberCollection.CopyTo Method

Copies the elements of the collection to the specified array.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As Member(), _
    index As Integer _
)
'Usage
Dim instance As MemberCollection
Dim array As Member()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    Member[] array,
    int index
)
public:
void CopyTo(
    array<Member^>^ array, 
    int index
)
member CopyTo : 
        array:Member[] * 
        index:int -> unit 
public function CopyTo(
    array : Member[], 
    index : int
)

Parameters

  • index
    Type: System.Int32
    The zero-based index at which to begin copying.