RangeHeaderValue.Parse Method (String)

.NET Framework (current version)
 

Converts a string to an RangeHeaderValue instance.

Namespace:   System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

public static RangeHeaderValue Parse(
	string input
)

Parameters

input
Type: System.String

A string that represents range header value information.

Exception Condition
ArgumentNullException

input is a null reference.

FormatException

input is not valid range header value information.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: