ModelStateDictionary.StartsWithPrefix(String, String) Method

Definition

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

Returns

Boolean

Applies to