다음을 통해 공유


NameValueHeaderValue.Find 메서드

정의

오버로드

Find(IList<NameValueHeaderValue>, StringSegment)

지정된 를 사용하여 NameValueHeaderValue 을 찾습니다 name.

Find(IList<NameValueHeaderValue>, String)

Find(IList<NameValueHeaderValue>, StringSegment)

Source:
NameValueHeaderValue.cs
Source:
NameValueHeaderValue.cs
Source:
NameValueHeaderValue.cs

지정된 를 사용하여 NameValueHeaderValue 을 찾습니다 name.

public:
 static Microsoft::Net::Http::Headers::NameValueHeaderValue ^ Find(System::Collections::Generic::IList<Microsoft::Net::Http::Headers::NameValueHeaderValue ^> ^ values, Microsoft::Extensions::Primitives::StringSegment name);
public static Microsoft.Net.Http.Headers.NameValueHeaderValue Find (System.Collections.Generic.IList<Microsoft.Net.Http.Headers.NameValueHeaderValue> values, Microsoft.Extensions.Primitives.StringSegment name);
public static Microsoft.Net.Http.Headers.NameValueHeaderValue? Find (System.Collections.Generic.IList<Microsoft.Net.Http.Headers.NameValueHeaderValue>? values, Microsoft.Extensions.Primitives.StringSegment name);
static member Find : System.Collections.Generic.IList<Microsoft.Net.Http.Headers.NameValueHeaderValue> * Microsoft.Extensions.Primitives.StringSegment -> Microsoft.Net.Http.Headers.NameValueHeaderValue
Public Shared Function Find (values As IList(Of NameValueHeaderValue), name As StringSegment) As NameValueHeaderValue

매개 변수

values
IList<NameValueHeaderValue>

검색할 컬렉션입니다.

name
StringSegment

찾을 이름입니다.

반환

을 찾은 경우 이 NameValueHeaderValue 고, 그렇지 않으면 null입니다.

적용 대상

Find(IList<NameValueHeaderValue>, String)

public:
 static Microsoft::Net::Http::Headers::NameValueHeaderValue ^ Find(System::Collections::Generic::IList<Microsoft::Net::Http::Headers::NameValueHeaderValue ^> ^ values, System::String ^ name);
public static Microsoft.Net.Http.Headers.NameValueHeaderValue Find (System.Collections.Generic.IList<Microsoft.Net.Http.Headers.NameValueHeaderValue> values, string name);
static member Find : System.Collections.Generic.IList<Microsoft.Net.Http.Headers.NameValueHeaderValue> * string -> Microsoft.Net.Http.Headers.NameValueHeaderValue
Public Shared Function Find (values As IList(Of NameValueHeaderValue), name As String) As NameValueHeaderValue

매개 변수

name
String

반환

적용 대상