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