CookieHeaderValue.TryParse Method (String, CookieHeaderValue)
Indicates a value whether the string representation will be converted.
Namespace: System.Net.Http.Headers
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
public static bool TryParse(
string input,
out CookieHeaderValue parsedValue
)
public:
static bool TryParse(
String^ input,
[OutAttribute] CookieHeaderValue^% parsedValue
)
static member TryParse :
input:string *
parsedValue:CookieHeaderValue byref -> bool
Public Shared Function TryParse (
input As String,
<OutAttribute> ByRef parsedValue As CookieHeaderValue
) As Boolean
Parameters
input
Type: System.StringThe input value.
parsedValue
Type: System.Net.Http.Headers.CookieHeaderValueThe parsed value to convert.
Return Value
Type: System.Boolean
true if the string representation will be converted; otherwise, false.
See Also
CookieHeaderValue Class
System.Net.Http.Headers Namespace
Return to top