Share via


AdomdRestrictionCollection.CopyTo Method

Copies the elements of the AdomdRestrictionCollection 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 AdomdRestriction(), _
    index As Integer _
)
'Usage
Dim instance As AdomdRestrictionCollection
Dim array As AdomdRestriction()
Dim index As Integer

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

Parameters

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