GetModelName Method
Collapse the table of content
Expand the table of content

FormAttribute.GetModelName Method ()

.NET Framework (current version)
 

Gets the model name.

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

public override string GetModelName()

Return Value

Type: System.String

The model name.

This method returns the value of the FieldName property.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft