Jaa


HttpNameValueHeaderValue.TryParse(String, HttpNameValueHeaderValue) Method

Definition

Determines whether a string is valid HttpNameValueHeaderValue information.

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

Parameters

input
String

Platform::String

winrt::hstring

The string to validate.

nameValueHeaderValue
HttpNameValueHeaderValue

The HttpNameValueHeaderValue version of the string.

Returns

Boolean

bool

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

Applies to