Partager via


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)

Syntax

'Declaration
Protected Friend Shared Function CreateSubPropertyName ( _
    prefix As String, _
    propertyName As String _
) As String
protected internal static string CreateSubPropertyName(
    string prefix,
    string propertyName
)
protected public:
static String^ CreateSubPropertyName(
    String^ prefix, 
    String^ propertyName
)

Parameters

Return Value

Type: System.String
The name of the subproperty.

See Also

Reference

DefaultModelBinder Class

System.Web.Mvc Namespace