ProductHeaderValue.TryParse(String, ProductHeaderValue) Metod

Definition

Avgör om en sträng är giltig ProductHeaderValue information.

public:
 static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] System::Net::Http::Headers::ProductHeaderValue ^ % parsedValue);
public static bool TryParse(string input, out System.Net.Http.Headers.ProductHeaderValue parsedValue);
static member TryParse : string * ProductHeaderValue -> bool
Public Shared Function TryParse (input As String, ByRef parsedValue As ProductHeaderValue) As Boolean

Parametrar

input
String

Strängen som ska verifieras.

parsedValue
ProductHeaderValue

Versionen ProductHeaderValue av strängen.

Returer

true om input är giltig ProductHeaderValue information, annars false.

Gäller för