ContentDispositionHeaderValue.TryParse Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Определяет, является ли строка допустимой ContentDispositionHeaderValue информацией.
public:
static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] System::Net::Http::Headers::ContentDispositionHeaderValue ^ % parsedValue);
public static bool TryParse(string input, out System.Net.Http.Headers.ContentDispositionHeaderValue parsedValue);
public static bool TryParse(string? input, out System.Net.Http.Headers.ContentDispositionHeaderValue? parsedValue);
static member TryParse : string * ContentDispositionHeaderValue -> bool
Public Shared Function TryParse (input As String, ByRef parsedValue As ContentDispositionHeaderValue) As Boolean
Параметры
- input
- String
Строка для проверки.
- parsedValue
- ContentDispositionHeaderValue
ContentDispositionHeaderValue Версия строки.
Возвращаемое значение
true Значение , если input имеет допустимые ContentDispositionHeaderValue сведения; в противном случае false.