Compartilhar via


SetCookieHeaderValue.TryParse Método

Definição

Sobrecargas

TryParse(StringSegment, SetCookieHeaderValue)

Tenta analisar o especificado input como um SetCookieHeaderValue.

TryParse(String, SetCookieHeaderValue)

TryParse(StringSegment, SetCookieHeaderValue)

Origem:
SetCookieHeaderValue.cs
Origem:
SetCookieHeaderValue.cs
Origem:
SetCookieHeaderValue.cs

Tenta analisar o especificado input como um SetCookieHeaderValue.

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

Parâmetros

input
StringSegment

O valor a analisar.

parsedValue
SetCookieHeaderValue

O valor analisado.

Retornos

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

Aplica-se a

TryParse(String, SetCookieHeaderValue)

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

Parâmetros

input
String
parsedValue
SetCookieHeaderValue

Retornos

Aplica-se a