ViaHeaderValue.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 ViaHeaderValue _
) As Boolean
'Usage
Dim input As String
Dim parsedValue As ViaHeaderValue
Dim returnValue As Boolean
returnValue = ViaHeaderValue.TryParse(input, _
parsedValue)
public static bool TryParse(
string input,
out ViaHeaderValue parsedValue
)
public:
static bool TryParse(
String^ input,
[OutAttribute] ViaHeaderValue^% parsedValue
)
static member TryParse :
input:string *
parsedValue:ViaHeaderValue byref -> bool
public static function TryParse(
input : String,
parsedValue : ViaHeaderValue
) : boolean
Parameters
- input
Type: System.String
- parsedValue
Type: System.Net.Http.Headers.ViaHeaderValue
Return Value
Type: System.Boolean
Returns Boolean.