HttpRequestHeaderCollection.Append(String, String) 方法

定義

將新專案新增至 HttpRequestHeaderCollection的結尾。

public:
 virtual void Append(Platform::String ^ name, Platform::String ^ value) = Append;
void Append(winrt::hstring const& name, winrt::hstring const& value);
public void Append(string name, string value);
function append(name, value)
Public Sub Append (name As String, value As String)

參數

name
String

Platform::String

winrt::hstring

要加入之值的名稱。

value
String

Platform::String

winrt::hstring

要加入的項目值。

適用於