HttpProductInfoHeaderValue.TryParse Method

Definition

Determines whether a string is valid HttpProductInfoHeaderValue information.

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

Parameters

input
String

Platform::String

winrt::hstring

The string to validate.

productInfoHeaderValue
HttpProductInfoHeaderValue

The HttpProductInfoHeaderValue version of the string.

Returns

Boolean

bool

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

Applies to