DefaultModelBinder.CreateSubPropertyName Method

Creates the name of the subproperty by using the specified prefix and property name.

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

'Declaration
Protected Friend Shared Function CreateSubPropertyName ( _
	prefix As String, _
	propertyName As String _
) As String
'Usage
Dim prefix As String 
Dim propertyName As String 
Dim returnValue As String 

returnValue = DefaultModelBinder.CreateSubPropertyName(prefix, _
	propertyName)

Parameters

prefix
Type: System.String

The prefix for the subproperty.

propertyName
Type: System.String

The name of the property.

Return Value

Type: System.String
The name of the subproperty.
Show: