Dela via


HttpContentRangeHeaderValue.TryParse Method

Definition

Determines whether a string is valid HttpContentRangeHeaderValue information.

public:
 static bool TryParse(Platform::String ^ input, [Out] HttpContentRangeHeaderValue ^ & contentRangeHeaderValue);
 static bool TryParse(winrt::hstring const& input, [Out] HttpContentRangeHeaderValue const& & contentRangeHeaderValue);
public static bool TryParse(string input, out HttpContentRangeHeaderValue contentRangeHeaderValue);
Public Shared Function TryParse (input As String, ByRef contentRangeHeaderValue As HttpContentRangeHeaderValue) As Boolean

Parameters

input
String

Platform::String

winrt::hstring

The string to validate.

contentRangeHeaderValue
HttpContentRangeHeaderValue

The HttpContentRangeHeaderValue version of the string.

Returns

Boolean

bool

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

Applies to