Partager via


CacheControlHeaderValue.TryParse Méthode

Définition

Surcharges

TryParse(StringSegment, CacheControlHeaderValue)

Tente d’analyser le spécifié input en tant CacheControlHeaderValueque .

TryParse(String, CacheControlHeaderValue)

TryParse(StringSegment, CacheControlHeaderValue)

Source:
CacheControlHeaderValue.cs
Source:
CacheControlHeaderValue.cs
Source:
CacheControlHeaderValue.cs

Tente d’analyser le spécifié input en tant CacheControlHeaderValueque .

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

Paramètres

input
StringSegment

Valeur à analyser.

parsedValue
CacheControlHeaderValue

Valeur analysée.

Retours

true si l’entrée est valide CacheControlHeaderValue, sinon false.

S’applique à

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

Paramètres

input
String

Retours

S’applique à