Udostępnij za pośrednictwem


CookieHeaderValue.TryParse Metoda

Definicja

Przeciążenia

TryParse(StringSegment, CookieHeaderValue)

Próbuje przeanalizować określony input element jako CookieHeaderValue.

TryParse(String, CookieHeaderValue)

TryParse(StringSegment, CookieHeaderValue)

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

Próbuje przeanalizować określony input element jako 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

Parametry

input
StringSegment

Wartość do przeanalizowana.

parsedValue
CookieHeaderValue

Przeanalizowana wartość.

Zwraca

true jeśli dane wejściowe są prawidłowe CookieHeaderValue, w przeciwnym razie false.

Dotyczy

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

Parametry

input
String
parsedValue
CookieHeaderValue

Zwraca

Dotyczy