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, která se má analyzovat.
- parsedValue
- ContentDispositionHeaderValue
Analyzovaná hodnota.
Návraty
true
pokud je vstup platný ContentDispositionHeaderValue, jinak 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
Návraty
Platí pro
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro