TransferCodingWithQualityHeaderValue.TryParse 方法

定义

确定一个字符串是否为有效的 TransferCodingWithQualityHeaderValue 信息。

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

参数

input
String

要验证的字符串。

返回

如果 input 为有效 TransferCodingWithQualityHeaderValue 信息,则为 true;否则为 false

适用于