共用方式為


RangeConditionHeaderValue.TryParse 方法

定義

多載

TryParse(StringSegment, RangeConditionHeaderValue)

嘗試將指定的 input 剖析為 RangeConditionHeaderValue

TryParse(String, RangeConditionHeaderValue)

TryParse(StringSegment, RangeConditionHeaderValue)

來源:
RangeConditionHeaderValue.cs
來源:
RangeConditionHeaderValue.cs
來源:
RangeConditionHeaderValue.cs

嘗試將指定的 input 剖析為 RangeConditionHeaderValue

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

參數

input
StringSegment

要剖析的值。

parsedValue
RangeConditionHeaderValue

剖析的值。

傳回

true 如果輸入是有效的 RangeConditionHeaderValue ,則為 ,否則 false 為 。

適用於

TryParse(String, RangeConditionHeaderValue)

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

參數

input
String

傳回

適用於