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。