HttpProductHeaderValue.TryParse(String, HttpProductHeaderValue) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether a string is valid HttpProductHeaderValue information.
public:
static bool TryParse(Platform::String ^ input, [Out] HttpProductHeaderValue ^ & productHeaderValue);
static bool TryParse(winrt::hstring const& input, [Out] HttpProductHeaderValue const& & productHeaderValue);
public static bool TryParse(string input, out HttpProductHeaderValue productHeaderValue);
Public Shared Function TryParse (input As String, ByRef productHeaderValue As HttpProductHeaderValue) As Boolean
Parameters
- input
-
String
Platform::String
winrt::hstring
The string to validate.
- productHeaderValue
- HttpProductHeaderValue
The HttpProductHeaderValue version of the string.
Returns
Boolean
bool
true if input is valid HttpProductHeaderValue information; otherwise, false.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro