UserDefinedMessageCollection.CopyTo(UserDefinedMessage[], Int32) UserDefinedMessageCollection.CopyTo(UserDefinedMessage[], Int32) UserDefinedMessageCollection.CopyTo(UserDefinedMessage[], Int32) Method

Definition

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

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

An array of UserDefinedMessage objects.

index
Int32 Int32 Int32

An Int32 value that specifies the index value from where to start the copy.

Examples

Using Collections

Applies to