ValueProviderCollection.GetKeysFromPrefix Method (String)
Gets the keys using the specified prefix.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
abstract GetKeysFromPrefix : prefix:string -> IDictionary<string, string> override GetKeysFromPrefix : prefix:string -> IDictionary<string, string>
Parameters
- prefix
-
Type:
System.String
The prefix.
GetKeysFromPrefix(“xyz") will return the following:
"abc" and "xyz.abc" from "xyz.abc"
"hello" and "xyz.hello" from "xyz.hello"
Nothing from "something.other"
"abc" and "xyz[abc]" from “xyz[abc].123”
Show: