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