HeaderDictionaryExtensions.AppendCommaSeparatedValues Метод

Определение

Кавычек любых значений, содержащих запятые, а затем запятая объединяет все значения с любыми существующими значениями.

public:
[System::Runtime::CompilerServices::Extension]
 static void AppendCommaSeparatedValues(Microsoft::AspNetCore::Http::IHeaderDictionary ^ headers, System::String ^ key, ... cli::array <System::String ^> ^ values);
public static void AppendCommaSeparatedValues (this Microsoft.AspNetCore.Http.IHeaderDictionary headers, string key, params string[] values);
static member AppendCommaSeparatedValues : Microsoft.AspNetCore.Http.IHeaderDictionary * string * string[] -> unit
<Extension()>
Public Sub AppendCommaSeparatedValues (headers As IHeaderDictionary, key As String, ParamArray values As String())

Параметры

headers
IHeaderDictionary

Используемый IHeaderDictionary.

key
String

Имя заголовка.

values
String[]

Значения заголовка.

Применяется к