CacheControlHeaderValue.TryParse(String, CacheControlHeaderValue) Método
Definição
Determina se uma cadeia de caracteres é uma informação CacheControlHeaderValue válida.Determines whether a string is valid CacheControlHeaderValue information.
public:
static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] System::Net::Http::Headers::CacheControlHeaderValue ^ % parsedValue);
public static bool TryParse (string input, out System.Net.Http.Headers.CacheControlHeaderValue parsedValue);
public static bool TryParse (string? input, out System.Net.Http.Headers.CacheControlHeaderValue? parsedValue);
static member TryParse : string * CacheControlHeaderValue -> bool
Public Shared Function TryParse (input As String, ByRef parsedValue As CacheControlHeaderValue) As Boolean
Parâmetros
- input
- String
A cadeia de caracteres a ser validada.The string to validate.
- parsedValue
- CacheControlHeaderValue
A versão CacheControlHeaderValue da cadeia de caracteres.The CacheControlHeaderValue version of the string.
Retornos
true se input for uma informação CacheControlHeaderValue válida; caso contrário, false.true if input is valid CacheControlHeaderValue information; otherwise, false.