CookieHeaderValue.TryParse 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.
Overloads
TryParse(StringSegment, CookieHeaderValue) |
Attempts to parse the specified |
TryParse(String, CookieHeaderValue) |
TryParse(StringSegment, CookieHeaderValue)
- Source:
- CookieHeaderValue.cs
- Source:
- CookieHeaderValue.cs
- Source:
- CookieHeaderValue.cs
Attempts to parse the specified input
as a CookieHeaderValue.
public:
static bool TryParse(Microsoft::Extensions::Primitives::StringSegment input, [Runtime::InteropServices::Out] Microsoft::Net::Http::Headers::CookieHeaderValue ^ % parsedValue);
public static bool TryParse (Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.CookieHeaderValue parsedValue);
public static bool TryParse (Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.CookieHeaderValue? parsedValue);
static member TryParse : Microsoft.Extensions.Primitives.StringSegment * CookieHeaderValue -> bool
Public Shared Function TryParse (input As StringSegment, ByRef parsedValue As CookieHeaderValue) As Boolean
Parameters
- input
- StringSegment
The value to parse.
- parsedValue
- CookieHeaderValue
The parsed value.
Returns
true
if input is a valid CookieHeaderValue, otherwise false
.
Applies to
TryParse(String, CookieHeaderValue)
public:
static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] Microsoft::Net::Http::Headers::CookieHeaderValue ^ % parsedValue);
public static bool TryParse (string input, out Microsoft.Net.Http.Headers.CookieHeaderValue parsedValue);
static member TryParse : string * CookieHeaderValue -> bool
Public Shared Function TryParse (input As String, ByRef parsedValue As CookieHeaderValue) As Boolean
Parameters
- input
- String
- parsedValue
- CookieHeaderValue