Поделиться через


EntityTagHeaderValue.TryParse Метод

Определение

Перегрузки

TryParse(StringSegment, EntityTagHeaderValue)

Пытается проанализировать указанный input объект как EntityTagHeaderValue.

TryParse(String, EntityTagHeaderValue)

TryParse(StringSegment, EntityTagHeaderValue)

Исходный код:
EntityTagHeaderValue.cs
Исходный код:
EntityTagHeaderValue.cs
Исходный код:
EntityTagHeaderValue.cs

Пытается проанализировать указанный input объект как EntityTagHeaderValue.

public:
 static bool TryParse(Microsoft::Extensions::Primitives::StringSegment input, [Runtime::InteropServices::Out] Microsoft::Net::Http::Headers::EntityTagHeaderValue ^ % parsedValue);
public static bool TryParse (Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.EntityTagHeaderValue parsedValue);
public static bool TryParse (Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.EntityTagHeaderValue? parsedValue);
static member TryParse : Microsoft.Extensions.Primitives.StringSegment * EntityTagHeaderValue -> bool
Public Shared Function TryParse (input As StringSegment, ByRef parsedValue As EntityTagHeaderValue) As Boolean

Параметры

input
StringSegment

Значение для анализа.

parsedValue
EntityTagHeaderValue

Проанализированное значение.

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

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

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

TryParse(String, EntityTagHeaderValue)

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

Параметры

input
String
parsedValue
EntityTagHeaderValue

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

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