Share via


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

Return Value

Type: System.String
The name of the subindex.

See Also

Reference

DefaultModelBinder Class

CreateSubIndexName Overload

System.Web.Mvc Namespace