Udostępnij za pośrednictwem


EntityTagHeaderValue.TryParse Metoda

Definicja

Przeciążenia

TryParse(StringSegment, EntityTagHeaderValue)

Próbuje przeanalizować określony input element jako EntityTagHeaderValue.

TryParse(String, EntityTagHeaderValue)

TryParse(StringSegment, EntityTagHeaderValue)

Źródło:
EntityTagHeaderValue.cs
Źródło:
EntityTagHeaderValue.cs
Źródło:
EntityTagHeaderValue.cs

Próbuje przeanalizować określony input element jako 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

Parametry

input
StringSegment

Wartość do przeanalizowana.

parsedValue
EntityTagHeaderValue

Przeanalizowana wartość.

Zwraca

true jeśli dane wejściowe są prawidłowe EntityTagHeaderValue, w przeciwnym razie false.

Dotyczy

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

Parametry

input
String
parsedValue
EntityTagHeaderValue

Zwraca

Dotyczy