SynonymCollection.CopyTo(Synonym[], Int32) SynonymCollection.CopyTo(Synonym[], Int32) SynonymCollection.CopyTo(Synonym[], Int32) Method

Definition

Copies the collection of objects to a one-dimensional array starting at the specified index value.

public:
 void CopyTo(cli::array <Microsoft::SqlServer::Management::Smo::Synonym ^> ^ array, int index);
public void CopyTo (Microsoft.SqlServer.Management.Smo.Synonym[] array, int index);
Public Sub CopyTo (array As Synonym(), index As Integer)
Parameters
array
Synonym[]

An array of Synonym objects.

index
Int32 Int32 Int32

An Int32 value that specifies the index value in the collection to start copying.

Examples

Using Collections

Applies to