Partilhar via


NameValueHeaderValue.Find Método

Definição

Sobrecargas

Find(IList<NameValueHeaderValue>, StringSegment)

Localiza um NameValueHeaderValue com o especificado name.

Find(IList<NameValueHeaderValue>, String)

Find(IList<NameValueHeaderValue>, StringSegment)

Origem:
NameValueHeaderValue.cs
Origem:
NameValueHeaderValue.cs
Origem:
NameValueHeaderValue.cs

Localiza um NameValueHeaderValue com o especificado 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

Parâmetros

values
IList<NameValueHeaderValue>

A coleção a ser pesquisada.

name
StringSegment

O nome a ser localizado.

Retornos

O NameValueHeaderValue se encontrado, caso contrário null, .

Aplica-se a

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

Parâmetros

name
String

Retornos

Aplica-se a