DefaultModelBinder.CreateSubIndexName Method (String, String)
Creates an index (a subindex) based on a category of components that make up a larger index, where the specified index value is a string.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Shared Function CreateSubIndexName ( _
prefix As String, _
index As String _
) As String
protected static string CreateSubIndexName(
string prefix,
string index
)
protected:
static String^ CreateSubIndexName(
String^ prefix,
String^ index
)
Parameters
- prefix
Type: System.String
The prefix for the subindex.
- index
Type: System.String
The index value.
Return Value
Type: System.String
The name of the subindex.