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)

'Declaration
Protected Shared Function CreateSubIndexName ( _
	prefix As String, _
	index As Integer _
) As String
'Usage
Dim prefix As String 
Dim index As Integer 
Dim returnValue As String 

returnValue = DefaultModelBinder.CreateSubIndexName(prefix, _
	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.
Show: