HeaderCollection.Add 方法

定义

重载

Add(KeyValuePair<String,StringValues>)
Add(String, StringValues)

Add(KeyValuePair<String,StringValues>)

public:
 virtual void Add(System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::Extensions::Primitives::StringValues> item);
public void Add (System.Collections.Generic.KeyValuePair<string,Microsoft.Extensions.Primitives.StringValues> item);
abstract member Add : System.Collections.Generic.KeyValuePair<string, Microsoft.Extensions.Primitives.StringValues> -> unit
override this.Add : System.Collections.Generic.KeyValuePair<string, Microsoft.Extensions.Primitives.StringValues> -> unit
Public Sub Add (item As KeyValuePair(Of String, StringValues))

参数

实现

适用于

Add(String, StringValues)

public:
 virtual void Add(System::String ^ key, Microsoft::Extensions::Primitives::StringValues value);
public void Add (string key, Microsoft.Extensions.Primitives.StringValues value);
abstract member Add : string * Microsoft.Extensions.Primitives.StringValues -> unit
override this.Add : string * Microsoft.Extensions.Primitives.StringValues -> unit
Public Sub Add (key As String, value As StringValues)

参数

key
String
value
StringValues

实现

适用于