PrefixContainer.GetKeysFromPrefix(String) 方法

定义

从前缀获取键。

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)

参数

prefix
String

要枚举的前缀。

返回

前缀的键。

注解

给定“foo.bar”、“foo.hello”、“something.other”,foo[abc].baz 和请求前缀“foo”将返回:- “bar”/“foo.bar” - “hello”/“foo.hello” - “abc”/“foo[abc]”

适用于