CookieHeaderValue.TryParse Method
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
'Declaration
Public Shared Function TryParse ( _
input As String, _
<OutAttribute> ByRef parsedValue As CookieHeaderValue _
) As Boolean
'Usage
Dim input As String
Dim parsedValue As CookieHeaderValue
Dim returnValue As Boolean
returnValue = CookieHeaderValue.TryParse(input, _
parsedValue)
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 static function TryParse(
input : String,
parsedValue : CookieHeaderValue
) : boolean
Parameters
input
Type: System.StringThe input value.
parsedValue
Type: System.Net.Http.Headers.CookieHeaderValue%The parsed value to convert.
Return Value
Type: System.Boolean
true if the string representation will be converted; otherwise, false.