Muokkaa

Jaa


ContentDispositionHeaderValue.TryParse Method

Definition

Determines whether a string is valid ContentDispositionHeaderValue information.

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

Parameters

input
String

The string to validate.

parsedValue
ContentDispositionHeaderValue

The ContentDispositionHeaderValue version of the string.

Returns

true if input is valid ContentDispositionHeaderValue information; otherwise, false.

Applies to