EntityTagHeaderValue.TryParse(String, EntityTagHeaderValue) Method

Definition

Determines whether a string is valid EntityTagHeaderValue information.

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

Parameters

input
String

The string to validate.

parsedValue
EntityTagHeaderValue

The EntityTagHeaderValue version of the string.

Returns

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

Applies to