Share via


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

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