RequestHeaders.GetList<T>(String) 메서드

정의

를 사용하여 헤더 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)

형식 매개 변수

T

헤더의 형식입니다. 지정된 형식에는 정적 TryParseList 메서드가 있어야 합니다.

매개 변수

name
String

검색할 헤더의 이름입니다.

반환

IList<T>

헤더의 값 목록입니다.

설명

T 는 서명 public static bool TryParseList(IList<string>, out IList<T>)이 인 TryParseList 메서드를 포함해야 합니다.

적용 대상