RouteDataAttribute.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 Key property.

.NET Framework
Available since 4.5
Return to top
Show: