NameValueWithParametersHeaderValue::TryParse Method (String^, NameValueWithParametersHeaderValue^%)

.NET Framework (current version)
 

Determines whether a string is valid NameValueWithParametersHeaderValue information.

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

public:
static bool TryParse(
	String^ input,
	[OutAttribute] NameValueWithParametersHeaderValue^% parsedValue
)

Parameters

input
Type: System::String^

The string to validate.

parsedValue
Type: System.Net.Http.Headers::NameValueWithParametersHeaderValue^%

The NameValueWithParametersHeaderValue version of the string.

Return Value

Type: System::Boolean

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

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: