Edit

Share via


SchemaNameCollection.CopyTo(String[], Int32) Method

Definition

Copies the schema names from this collection to an array, starting at a particular index of the array.

public:
 void CopyTo(cli::array <System::String ^> ^ stringArray, int index);
public void CopyTo (string?[] stringArray, int index);
public void CopyTo (string[] stringArray, int index);
member this.CopyTo : string[] * int -> unit
Public Sub CopyTo (stringArray As String(), index As Integer)

Parameters

stringArray
String[]

An array of type String that receives this collection's schema names.

index
Int32

The zero-based array index at which to begin copying the schema names.

Applies to