ProductHeaderValue::TryParse Method (String^, ProductHeaderValue^%)
.NET Framework (current version)
Determines whether a string is valid ProductHeaderValue information.
Assembly: System.Net.Http (in System.Net.Http.dll)
public: static bool TryParse( String^ input, [OutAttribute] ProductHeaderValue^% parsedValue )
Parameters
- input
-
Type:
System::String^
The string to validate.
- parsedValue
-
Type:
System.Net.Http.Headers::ProductHeaderValue^%
The ProductHeaderValue version of the string.
Return Value
Type: System::Booleantrue if input is valid ProductHeaderValue 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
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: