NameValueHeaderValue.TryParse Method
Namespace: System.Net.Http.Headers
Assembly: System.Net.Http (in System.Net.Http.dll)
Syntax
'Declaration
Public Shared Function TryParse ( _
input As String, _
<OutAttribute> ByRef parsedValue As NameValueHeaderValue _
) As Boolean
'Usage
Dim input As String
Dim parsedValue As NameValueHeaderValue
Dim returnValue As Boolean
returnValue = NameValueHeaderValue.TryParse(input, _
parsedValue)
public static bool TryParse(
string input,
out NameValueHeaderValue parsedValue
)
public:
static bool TryParse(
String^ input,
[OutAttribute] NameValueHeaderValue^% parsedValue
)
static member TryParse :
input:string *
parsedValue:NameValueHeaderValue byref -> bool
public static function TryParse(
input : String,
parsedValue : NameValueHeaderValue
) : boolean
Parameters
- input
Type: System.String
- parsedValue
Type: System.Net.Http.Headers.NameValueHeaderValue
Return Value
Type: System.Boolean
Returns Boolean.