.NET Framework Class Library
DefaultModelBinder.CreateSubPropertyName Method
Creates the name of the subproperty by using the specified prefix and property name.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
Visual Basic
Protected Friend Shared Function CreateSubPropertyName ( _ prefix As String, _ propertyName As String _ ) As String
C#
protected internal static string CreateSubPropertyName( string prefix, string propertyName )
Visual C++
protected public: static String^ CreateSubPropertyName( String^ prefix, String^ propertyName )
Parameters
- prefix
- Type: System.String
The prefix for the subproperty.
- propertyName
- Type: System.String
The name of the property.
See Also