Sdílet prostřednictvím


ResponseHeaders.GetList<T>(String) Metoda

Definice

Získá hodnoty hlavičky pomocí 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 hlavičky. Daný typ musí mít statickou metodu TryParseList.

Parametry

name
String

Název hlavičky, která se má načíst.

Návraty

IList<T>

Seznam hodnot záhlaví

Poznámky

T musí obsahovat metodu TryParseList s podpisem public static bool TryParseList(IList<string>, out IList<T>).

Platí pro