Partilhar via


CookieHeaderValue.TryParse Método

Definição

Sobrecargas

TryParse(StringSegment, CookieHeaderValue)

Tenta analisar o especificado input como um CookieHeaderValue.

TryParse(String, CookieHeaderValue)

TryParse(StringSegment, CookieHeaderValue)

Origem:
CookieHeaderValue.cs
Origem:
CookieHeaderValue.cs
Origem:
CookieHeaderValue.cs

Tenta analisar o especificado input como um CookieHeaderValue.

public:
 static bool TryParse(Microsoft::Extensions::Primitives::StringSegment input, [Runtime::InteropServices::Out] Microsoft::Net::Http::Headers::CookieHeaderValue ^ % parsedValue);
public static bool TryParse (Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.CookieHeaderValue parsedValue);
public static bool TryParse (Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.CookieHeaderValue? parsedValue);
static member TryParse : Microsoft.Extensions.Primitives.StringSegment * CookieHeaderValue -> bool
Public Shared Function TryParse (input As StringSegment, ByRef parsedValue As CookieHeaderValue) As Boolean

Parâmetros

input
StringSegment

O valor a analisar.

parsedValue
CookieHeaderValue

O valor analisado.

Retornos

true se a entrada for válida CookieHeaderValue, caso contrário false, .

Aplica-se a

TryParse(String, CookieHeaderValue)

public:
 static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] Microsoft::Net::Http::Headers::CookieHeaderValue ^ % parsedValue);
public static bool TryParse (string input, out Microsoft.Net.Http.Headers.CookieHeaderValue parsedValue);
static member TryParse : string * CookieHeaderValue -> bool
Public Shared Function TryParse (input As String, ByRef parsedValue As CookieHeaderValue) As Boolean

Parâmetros

input
String
parsedValue
CookieHeaderValue

Retornos

Aplica-se a