Freigeben über


ContentDispositionHeaderValue.TryParse Methode

Definition

Überlädt

TryParse(StringSegment, ContentDispositionHeaderValue)

Versucht, das angegebene input als zu ContentDispositionHeaderValueanalysieren.

TryParse(String, ContentDispositionHeaderValue)

TryParse(StringSegment, ContentDispositionHeaderValue)

Quelle:
ContentDispositionHeaderValue.cs
Quelle:
ContentDispositionHeaderValue.cs
Quelle:
ContentDispositionHeaderValue.cs

Versucht, das angegebene input als zu ContentDispositionHeaderValueanalysieren.

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

Parameter

input
StringSegment

Der zu analysierende Wert.

parsedValue
ContentDispositionHeaderValue

Der analysierte Wert.

Gibt zurück

true , wenn die Eingabe gültig ContentDispositionHeaderValueist, andernfalls false.

Gilt für:

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

Parameter

input
String

Gibt zurück

Gilt für: