ContentDispositionHeaderValue.TryParse Methode

Definition

Bestimmt, ob eine Zeichenfolge eine gültige ContentDispositionHeaderValue-Information ist.

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

Parameter

input
String

Die zu überprüfende Zeichenfolge.

parsedValue
ContentDispositionHeaderValue

Die ContentDispositionHeaderValue-Version der Zeichenfolge.

Gibt zurück

true, wenn input eine gültige ContentDispositionHeaderValue-Information ist; andernfalls false.

Gilt für: