NamedSetCollection.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 NamedSet(), _
    index As Integer _
)
public void CopyTo (
    NamedSet[] array,
    int index
)
public:
void CopyTo (
    array<NamedSet^>^ array, 
    int index
)
public void CopyTo (
    NamedSet[] array, 
    int index
)
public function CopyTo (
    array : NamedSet[], 
    index : int
)

Parameters

  • array
    An instance of a one-dimensional Array in which to copy the elements of the collection. The Array must have zero-based indexing.
  • index
    The zero-based index at which to begin copying.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

NamedSetCollection Class
NamedSetCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace