HttpContentCodingWithQualityHeaderValue.TryParse 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷字串是否有效 HttpContentCodingWithQualityHeaderValue 資訊。
public:
static bool TryParse(Platform::String ^ input, [Out] HttpContentCodingWithQualityHeaderValue ^ & contentCodingWithQualityHeaderValue);
static bool TryParse(winrt::hstring const& input, [Out] HttpContentCodingWithQualityHeaderValue const& & contentCodingWithQualityHeaderValue);
public static bool TryParse(string input, out HttpContentCodingWithQualityHeaderValue contentCodingWithQualityHeaderValue);
Public Shared Function TryParse (input As String, ByRef contentCodingWithQualityHeaderValue As HttpContentCodingWithQualityHeaderValue) As Boolean
參數
- input
-
String
Platform::String
winrt::hstring
要驗證的字串。
- contentCodingWithQualityHeaderValue
- HttpContentCodingWithQualityHeaderValue
傳回
Boolean
bool
如果輸入有效HttpContentCodingWithQualityHeaderValue資訊,則為true;否則為false。