Share via


PrefixContainer.GetKeysFromPrefix(String) Method

Definition

Gets the keys from a prefix.

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)

Parameters

prefix
String

The prefix to enumerate.

Returns

The keys for the prefix.

Remarks

Given "foo.bar", "foo.hello", "something.other", foo[abc].baz and asking for prefix "foo" will return: - "bar"/"foo.bar" - "hello"/"foo.hello" - "abc"/"foo[abc]"

Applies to