ContentDispositionHeaderValue.TryParse Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Určuje, zda je řetězec platnými ContentDispositionHeaderValue informacemi.
public:
static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] System::Net::Http::Headers::ContentDispositionHeaderValue ^ % parsedValue);
public static bool TryParse (string input, out System.Net.Http.Headers.ContentDispositionHeaderValue parsedValue);
public static bool TryParse (string? input, out System.Net.Http.Headers.ContentDispositionHeaderValue? parsedValue);
static member TryParse : string * ContentDispositionHeaderValue -> bool
Public Shared Function TryParse (input As String, ByRef parsedValue As ContentDispositionHeaderValue) As Boolean
Parametry
- input
- String
Řetězec, který chcete ověřit.
- parsedValue
- ContentDispositionHeaderValue
Verze ContentDispositionHeaderValue řetězce.
Návraty
true pokud input je platná ContentDispositionHeaderValue informace, falsev opačném případě .