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í.
Přetížení
| TryParse(StringSegment, ContentDispositionHeaderValue) |
Pokusí se parsovat zadané |
| TryParse(String, ContentDispositionHeaderValue) |
TryParse(StringSegment, ContentDispositionHeaderValue)
Pokusí se parsovat zadané input jako ContentDispositionHeaderValue.
public:
static bool TryParse(Microsoft::Extensions::Primitives::StringSegment input, [Runtime::InteropServices::Out] Microsoft::Net::Http::Headers::ContentDispositionHeaderValue ^ % parsedValue);
public static bool TryParse (Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.ContentDispositionHeaderValue parsedValue);
public static bool TryParse (Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.ContentDispositionHeaderValue? parsedValue);
static member TryParse : Microsoft.Extensions.Primitives.StringSegment * ContentDispositionHeaderValue -> bool
Public Shared Function TryParse (input As StringSegment, ByRef parsedValue As ContentDispositionHeaderValue) As Boolean
Parametry
- input
- StringSegment
Hodnota, kterou chcete analyzovat.
- parsedValue
- ContentDispositionHeaderValue
Analyzovaná hodnota.
Návraty
true je-li vstup platný ContentDispositionHeaderValue, v opačném případě false.
Platí pro
TryParse(String, ContentDispositionHeaderValue)
public:
static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] Microsoft::Net::Http::Headers::ContentDispositionHeaderValue ^ % parsedValue);
public static bool TryParse (string input, out Microsoft.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
- parsedValue
- ContentDispositionHeaderValue