Share via


OutputCacheProviderCollection.CopyTo(OutputCacheProvider[], Int32) 方法

定義

輸出快取區提供者複製到相容的一維陣列中指定的索引處。

public:
 void CopyTo(cli::array <System::Web::Caching::OutputCacheProvider ^> ^ array, int index);
public void CopyTo (System.Web.Caching.OutputCacheProvider[] array, int index);
override this.CopyTo : System.Web.Caching.OutputCacheProvider[] * int -> unit
Public Sub CopyTo (array As OutputCacheProvider(), index As Integer)

參數

array
OutputCacheProvider[]

一維陣列,是從集合複製元素的目的端。此陣列必須具有以零起始的索引。

index
Int32

陣列中開始複製的點。

備註

複製專案的陣列必須具有以零起始的索引。

適用於