ContentDispositionHeaderValue.TryParse Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine si une chaîne est une information ContentDispositionHeaderValue valide.
public:
static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] System::Net::Http::Headers::ContentDispositionHeaderValue ^ % parsedValue);
public static bool TryParse (string input, out System.Net.Http.Headers.ContentDispositionHeaderValue parsedValue);
public static bool TryParse (string? input, out System.Net.Http.Headers.ContentDispositionHeaderValue? parsedValue);
static member TryParse : string * ContentDispositionHeaderValue -> bool
Public Shared Function TryParse (input As String, ByRef parsedValue As ContentDispositionHeaderValue) As Boolean
Paramètres
- input
- String
Chaîne à valider.
- parsedValue
- ContentDispositionHeaderValue
La version ContentDispositionHeaderValue de la chaîne.
Retours
true
si input
est une information ContentDispositionHeaderValue valide ; sinon, false
.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour