Sdílet prostřednictvím


ContentDispositionHeaderValue.TryParse Metoda

Definice

Přetížení

TryParse(StringSegment, ContentDispositionHeaderValue)

Pokusí se parsovat zadaný input jako ContentDispositionHeaderValue.

TryParse(String, ContentDispositionHeaderValue)

TryParse(StringSegment, ContentDispositionHeaderValue)

Zdroj:
ContentDispositionHeaderValue.cs
Zdroj:
ContentDispositionHeaderValue.cs
Zdroj:
ContentDispositionHeaderValue.cs

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

Návraty

Platí pro