Share via


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

Definition

Sets the specified header and it's values.

public:
generic <typename T>
 void SetList(System::String ^ name, System::Collections::Generic::IList<T> ^ values);
public void SetList<T> (string name, System.Collections.Generic.IList<T> values);
public void SetList<T> (string name, System.Collections.Generic.IList<T>? values);
member this.SetList : string * System.Collections.Generic.IList<'T> -> unit
Public Sub SetList(Of T) (name As String, values As IList(Of T))

Type Parameters

T

The type of the value.

Parameters

name
String

The header name.

values
IList<T>

The sequence of header values.

Applies to