Condividi tramite


NameValueHeaderValue.Find Metodo

Definizione

Overload

Find(IList<NameValueHeaderValue>, StringSegment)

Trova un NameValueHeaderValue oggetto con l'oggetto specificato name.

Find(IList<NameValueHeaderValue>, String)

Find(IList<NameValueHeaderValue>, StringSegment)

Origine:
NameValueHeaderValue.cs
Origine:
NameValueHeaderValue.cs
Origine:
NameValueHeaderValue.cs

Trova un NameValueHeaderValue oggetto con l'oggetto specificato 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

Parametri

values
IList<NameValueHeaderValue>

Raccolta da cercare.

name
StringSegment

Nome da trovare.

Restituisce

Se NameValueHeaderValue trovato, in caso contrario null.

Si applica 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

Parametri

name
String

Restituisce

Si applica a