IVector<T>.ReplaceAll(T[]) 方法

定義

以指定的專案取代向量中的所有專案。

public:
 void ReplaceAll(Platform::Array <T> ^ items);
void ReplaceAll(winrt::array_view <T> const& items);
public void ReplaceAll(T[] items);
Public Sub ReplaceAll (items As T())

參數

items
T[]

要加入向量的專案集合。

備註

使用 .NET 進行程式設計時,此介面會隱藏,您應該使用System.Collections.Generic.IList < T >介面。

適用於

另請參閱