ResponseHeaders.SetList<T>(String, IList<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for