DefaultModelBinder::CreateSubIndexName Method

 

Creates an index (a subindex) based on a category of components that make up a larger index.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

NameDescription
System_CAPS_protmethodSystem_CAPS_staticCreateSubIndexName(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.

System_CAPS_protmethodSystem_CAPS_staticCreateSubIndexName(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.

Return to top

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.

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.

Return to top

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.

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.

Return to top
Show: