PrefixContainer.GetKeysFromPrefix(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for