Udostępnij za pośrednictwem


CacheControlHeaderValue.TryParse Metoda

Definicja

Przeciążenia

TryParse(StringSegment, CacheControlHeaderValue)

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

TryParse(String, CacheControlHeaderValue)

TryParse(StringSegment, CacheControlHeaderValue)

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

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

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

Parametry

input
StringSegment

Wartość do przeanalizowana.

parsedValue
CacheControlHeaderValue

Przeanalizowana wartość.

Zwraca

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

Dotyczy

TryParse(String, CacheControlHeaderValue)

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

Parametry

input
String

Zwraca

Dotyczy