Rediger

Del via


ContentRangeHeaderValue.TryParse(String, ContentRangeHeaderValue) Method

Definition

Determines whether a string is valid ContentRangeHeaderValue information.

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

Parameters

input
String

The string to validate.

parsedValue
ContentRangeHeaderValue

The ContentRangeHeaderValue version of the string.

Returns

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

Applies to