Dela via


HttpDateOrDeltaHeaderValue.TryParse Method

Definition

Determines whether a string is valid HttpDateOrDeltaHeaderValue information.

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

Parameters

input
String

Platform::String

winrt::hstring

The string to validate.

dateOrDeltaHeaderValue
HttpDateOrDeltaHeaderValue

The HttpDateOrDeltaHeaderValue version of the string.

Returns

Boolean

bool

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

Applies to