Share via


PrefixContainer.GetKeysFromPrefix(String) Méthode

Définition

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 à