TransferCodingHeaderValue.TryParse(String, TransferCodingHeaderValue) 方法

定義

判斷字串是否為有效的 TransferCodingHeaderValue 資訊。

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

參數

input
String

要驗證的字串。

parsedValue
TransferCodingHeaderValue

字串的 TransferCodingHeaderValue 版本。

傳回

如果 input 是有效的 TransferCodingHeaderValue 資訊,則為 true;否則為 false

適用於