Compartir a través de


RequestHeaders.GetList<T>(String) Método

Definición

Obtiene los valores del encabezado con 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)

Parámetros de tipo

T

Tipo del encabezado. El tipo especificado debe tener un método TryParseList estático.

Parámetros

name
String

Nombre del encabezado que se va a recuperar.

Devoluciones

IList<T>

Lista de valores del encabezado.

Comentarios

T debe contener un método TryParseList con la firma public static bool TryParseList(IList<string>, out IList<T>).

Se aplica a