Condividi tramite


HttpMediaTypeWithQualityHeaderValue.TryParse Metodo

Definizione

Determina se una stringa è valida per le informazioni HttpMediaTypeWithQualityHeaderValue .

public:
 static bool TryParse(Platform::String ^ input, [Out] HttpMediaTypeWithQualityHeaderValue ^ & mediaTypeWithQualityHeaderValue);
 static bool TryParse(winrt::hstring const& input, [Out] HttpMediaTypeWithQualityHeaderValue const& & mediaTypeWithQualityHeaderValue);
public static bool TryParse(string input, out HttpMediaTypeWithQualityHeaderValue mediaTypeWithQualityHeaderValue);
Public Shared Function TryParse (input As String, ByRef mediaTypeWithQualityHeaderValue As HttpMediaTypeWithQualityHeaderValue) As Boolean

Parametri

input
String

Platform::String

winrt::hstring

Stringa da convalidare.

mediaTypeWithQualityHeaderValue
HttpMediaTypeWithQualityHeaderValue

Versione HttpMediaTypeWithQualityHeaderValue della stringa.

Restituisce

Boolean

bool

true se l'input è valido per le informazioni HttpMediaTypeWithQualityHeaderValue ; in caso contrario, false.

Si applica a