SetCookieHeaderValue.TryParse Metoda

Definice

Přetížení

TryParse(StringSegment, SetCookieHeaderValue)

Pokusí se parsovat zadané input jako SetCookieHeaderValue.

TryParse(String, SetCookieHeaderValue)

TryParse(StringSegment, SetCookieHeaderValue)

Pokusí se parsovat zadané input jako 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

Parametry

input
StringSegment

Hodnota, která se má analyzovat.

parsedValue
SetCookieHeaderValue

Parsovaná hodnota.

Návraty

Boolean

true je-li vstup platný SetCookieHeaderValue, jinak false.

Platí pro

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

Parametry

input
String
parsedValue
SetCookieHeaderValue

Návraty

Boolean

Platí pro