HttpProductInfoHeaderValue.TryParse Метод

Определение

Определяет, является ли строка допустимой информацией HttpProductInfoHeaderValue .

public:
 static bool TryParse(Platform::String ^ input, [Out] HttpProductInfoHeaderValue ^ & productInfoHeaderValue);
 static bool TryParse(winrt::hstring const& input, [Out] HttpProductInfoHeaderValue const& & productInfoHeaderValue);
public static bool TryParse(string input, out HttpProductInfoHeaderValue productInfoHeaderValue);
Public Shared Function TryParse (input As String, ByRef productInfoHeaderValue As HttpProductInfoHeaderValue) As Boolean

Параметры

input
String

Platform::String

winrt::hstring

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

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

Boolean

bool

значение true , если входные данные являются допустимыми данными HttpProductInfoHeaderValue ; в противном случае — false.

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