ModelStateDictionary.StartsWithPrefix(String, 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.
This API supports the MVC's infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public:
static bool StartsWithPrefix(System::String ^ prefix, System::String ^ key);
public static bool StartsWithPrefix (string prefix, string key);
static member StartsWithPrefix : string * string -> bool
Public Shared Function StartsWithPrefix (prefix As String, key As String) As Boolean
Parameters
- prefix
- String
- key
- String