RequestHeaders.GetList<T>(String) Metoda

Definice

Získá hodnoty záhlaví s name.

public:
generic <typename T>
 System::Collections::Generic::IList<T> ^ GetList(System::String ^ name);
public System.Collections.Generic.IList<T> GetList<T> (string name);
member this.GetList : string -> System.Collections.Generic.IList<'T>
Public Function GetList(Of T) (name As String) As IList(Of T)

Parametry typu

T

Typ záhlaví. Daný typ musí mít statickou metodu TryParseList.

Parametry

name
String

Název záhlaví, které chcete načíst.

Návraty

IList<T>

Seznam hodnot záhlaví

Poznámky

T musí obsahovat metodu TryParseList s veřejnou statickou logol TryParseList(IList<string>, out IList<T>).

Platí pro