EntityTagHeaderValue.TryParse Method

Definition

Overloads

TryParse(StringSegment, EntityTagHeaderValue)

Attempts to parse the specified input as a EntityTagHeaderValue.

TryParse(String, EntityTagHeaderValue)

TryParse(StringSegment, EntityTagHeaderValue)

Source:
EntityTagHeaderValue.cs
Source:
EntityTagHeaderValue.cs

Attempts to parse the specified input as a EntityTagHeaderValue.

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

Parameters

input
StringSegment

The value to parse.

parsedValue
EntityTagHeaderValue

The parsed value.

Returns

true if input is a valid EntityTagHeaderValue, otherwise false.

Applies to

TryParse(String, EntityTagHeaderValue)

public:
 static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] Microsoft::Net::Http::Headers::EntityTagHeaderValue ^ % parsedValue);
public static bool TryParse (string input, out Microsoft.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
parsedValue
EntityTagHeaderValue

Returns

Applies to