Aracılığıyla paylaş


NameValueHeaderValue.Find Yöntem

Tanım

Aşırı Yüklemeler

Find(IList<NameValueHeaderValue>, StringSegment)

Belirtilen nameile bir NameValueHeaderValue bulur.

Find(IList<NameValueHeaderValue>, String)

Find(IList<NameValueHeaderValue>, StringSegment)

Kaynak:
NameValueHeaderValue.cs
Kaynak:
NameValueHeaderValue.cs
Kaynak:
NameValueHeaderValue.cs

Belirtilen nameile bir NameValueHeaderValue bulur.

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

Parametreler

values
IList<NameValueHeaderValue>

Aranacak koleksiyon.

name
StringSegment

Bulunacak ad.

Döndürülenler

NameValueHeaderValue bulunursa, değilse null.

Şunlara uygulanır

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

Parametreler

name
String

Döndürülenler

Şunlara uygulanır