PrefixContainer.GetKeysFromPrefix(String) 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.
Obtient les clés à partir d'un préfixe.
public:
System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ GetKeysFromPrefix(System::String ^ prefix);
public System.Collections.Generic.IDictionary<string,string> GetKeysFromPrefix (string prefix);
member this.GetKeysFromPrefix : string -> System.Collections.Generic.IDictionary<string, string>
Public Function GetKeysFromPrefix (prefix As String) As IDictionary(Of String, String)
Paramètres
- prefix
- String
Préfixe à énumérer.
Retours
Clés du préfixe.
Remarques
Étant donné " foo.bar « , « foo.hello », « something.other », foo[abc].baz et demandant le préfixe « foo » retournent : - « bar"/"foo.bar » - « hello"/"foo.hello » - « abc"/"foo[abc] »
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour