閱讀英文

共用方式為


TransferCodingHeaderValue.TryParse(String, TransferCodingHeaderValue) 方法

定義

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

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);

參數

input
String

要驗證的字串。

parsedValue
TransferCodingHeaderValue

字串的 TransferCodingHeaderValue 版本。

傳回

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

適用於