Bewerken

Share via


WarningHeaderValue.TryParse(String, WarningHeaderValue) Method

Definition

Determines whether a string is valid WarningHeaderValue information.

public:
 static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] System::Net::Http::Headers::WarningHeaderValue ^ % parsedValue);
public static bool TryParse (string input, out System.Net.Http.Headers.WarningHeaderValue parsedValue);
public static bool TryParse (string? input, out System.Net.Http.Headers.WarningHeaderValue? parsedValue);
static member TryParse : string * WarningHeaderValue -> bool
Public Shared Function TryParse (input As String, ByRef parsedValue As WarningHeaderValue) As Boolean

Parameters

input
String

The string to validate.

parsedValue
WarningHeaderValue

The WarningHeaderValue version of the string.

Returns

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

Applies to