Partilhar via


ContentRangeHeaderValue.TryParse Método

Definição

Sobrecargas

TryParse(StringSegment, ContentRangeHeaderValue)

Tenta analisar o especificado input como um ContentRangeHeaderValue.

TryParse(String, ContentRangeHeaderValue)

TryParse(StringSegment, ContentRangeHeaderValue)

Origem:
ContentRangeHeaderValue.cs
Origem:
ContentRangeHeaderValue.cs
Origem:
ContentRangeHeaderValue.cs

Tenta analisar o especificado input como um ContentRangeHeaderValue.

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

Parâmetros

input
StringSegment

O valor a analisar.

parsedValue
ContentRangeHeaderValue

O valor analisado.

Retornos

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

Aplica-se a

TryParse(String, ContentRangeHeaderValue)

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

Parâmetros

input
String

Retornos

Aplica-se a