HttpContentRangeHeaderValue.Parse(String) Method

Definition

Converts a string to an HttpContentRangeHeaderValue instance.

public:
 static HttpContentRangeHeaderValue ^ Parse(Platform::String ^ input);
 static HttpContentRangeHeaderValue Parse(winrt::hstring const& input);
public static HttpContentRangeHeaderValue Parse(string input);
function parse(input)
Public Shared Function Parse (input As String) As HttpContentRangeHeaderValue

Parameters

input
String

Platform::String

winrt::hstring

A string that represents the content range information in the Content-Range HTTP header.

Returns

An HttpContentRangeHeaderValue instance.

Remarks

Below are the exceptions that this function throws.

E_INVALIDARG

The input parameter is null (Nothing in Visual Basic).

The input parameter is not valid content range information.

Applies to