ProductHeaderValue.TryParse(String, ProductHeaderValue) Метод

Определение

Определяет, является ли строка допустимыми сведениями ProductHeaderValue.

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);
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

Параметры

input
String

Проверяемая строка.

parsedValue
ProductHeaderValue

Версия ProductHeaderValue строки.

Возвращаемое значение

true, если input представляет допустимые сведения ProductHeaderValue. В противном случае — false.

Применяется к