HttpConnectionOptionHeaderValueCollection.ReplaceAll 方法

定义

将集合中的所有 HttpConnectionOptionHeaderValue 项替换为指定的 HttpConnectionOptionHeaderValue 项。

public:
 virtual void ReplaceAll(Platform::Array <HttpConnectionOptionHeaderValue ^> ^ items) = IVector<HttpConnectionOptionHeaderValue ^>::ReplaceAll;
void ReplaceAll(winrt::array_view <HttpConnectionOptionHeaderValue const&> const& items);
public void ReplaceAll(HttpConnectionOptionHeaderValue[] items);
function replaceAll(items)
Public Sub ReplaceAll (items As HttpConnectionOptionHeaderValue())

参数

items
HttpConnectionOptionHeaderValue[]

要添加到集合的 HttpConnectionOptionHeaderValue 项的集合。

实现

适用于