Udostępnij za pośrednictwem


NameValueHeaderValue.Find Metoda

Definicja

Przeciążenia

Find(IList<NameValueHeaderValue>, StringSegment)

Znajduje obiekt NameValueHeaderValue z określonym nameelementem .

Find(IList<NameValueHeaderValue>, String)

Find(IList<NameValueHeaderValue>, StringSegment)

Źródło:
NameValueHeaderValue.cs
Źródło:
NameValueHeaderValue.cs
Źródło:
NameValueHeaderValue.cs

Znajduje obiekt NameValueHeaderValue z określonym nameelementem .

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

Parametry

values
IList<NameValueHeaderValue>

Kolekcja do wyszukania.

name
StringSegment

Nazwa do znalezienia.

Zwraca

Jeśli element zostanie znaleziony NameValueHeaderValue , w przeciwnym razie null.

Dotyczy

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

Parametry

name
String

Zwraca

Dotyczy