Share via


ProductInfoHeaderValue.TryParse(String, ProductInfoHeaderValue) Metoda

Definice

Určuje, zda je řetězec platnými ProductInfoHeaderValue informacemi.

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

Parametry

input
String

Řetězec, který chcete ověřit.

parsedValue
ProductInfoHeaderValue

Verze ProductInfoHeaderValue řetězce.

Návraty

true pokud input je platná ProductInfoHeaderValue informace, falsev opačném případě .

Platí pro