ResponseHeaders.SetList<T>(String, IList<T>) Method

Definition

Sets the specified header and it's values.

C#
public void SetList<T> (string name, System.Collections.Generic.IList<T> values);
C#
public void SetList<T> (string name, System.Collections.Generic.IList<T>? values);

Type Parameters

T

The type of the value.

Parameters

name
String

The header name.

values
IList<T>

The sequence of header values.

Applies to

Производ Верзије
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0