Partilhar via


RangeHeaderValue.TryParse Método

Definição

Sobrecargas

TryParse(StringSegment, RangeHeaderValue)

Tenta analisar o especificado input como um RangeHeaderValue.

TryParse(String, RangeHeaderValue)

TryParse(StringSegment, RangeHeaderValue)

Origem:
RangeHeaderValue.cs
Origem:
RangeHeaderValue.cs
Origem:
RangeHeaderValue.cs

Tenta analisar o especificado input como um RangeHeaderValue.

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

Parâmetros

input
StringSegment

O valor a analisar.

parsedValue
RangeHeaderValue

O valor analisado.

Retornos

true se a entrada for válida RangeHeaderValue, caso contrário false, .

Aplica-se a

TryParse(String, RangeHeaderValue)

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

Parâmetros

input
String
parsedValue
RangeHeaderValue

Retornos

Aplica-se a