Aracılığıyla paylaş


SetCookieHeaderValue.TryParse Yöntem

Tanım

Aşırı Yüklemeler

TryParse(StringSegment, SetCookieHeaderValue)

Belirtilen input öğesini olarak SetCookieHeaderValueayrıştırmaya çalışır.

TryParse(String, SetCookieHeaderValue)

TryParse(StringSegment, SetCookieHeaderValue)

Kaynak:
SetCookieHeaderValue.cs
Kaynak:
SetCookieHeaderValue.cs
Kaynak:
SetCookieHeaderValue.cs

Belirtilen input öğesini olarak SetCookieHeaderValueayrıştırmaya çalışır.

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

Parametreler

input
StringSegment

Ayrıştıracak değer.

parsedValue
SetCookieHeaderValue

Ayrıştırılan değer.

Döndürülenler

true giriş geçerli SetCookieHeaderValuebir ise, değilse false.

Şunlara uygulanır

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

Parametreler

input
String
parsedValue
SetCookieHeaderValue

Döndürülenler

Şunlara uygulanır