SchemaNameCollection.CopyTo(String[], Int32) 方法

定义

将架构名从此集合复制到一个数组中,并从该数组的某个特定索引处开始复制。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);
member this.CopyTo : string[] * int -> unit
Public Sub CopyTo (stringArray As String(), index As Integer)

参数

stringArray
String[]

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.

适用于