Sdílet prostřednictvím


ModelBindingContext.ModelName Property

Gets or sets the name of the model.

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

Syntax

'Declaration
Public Property ModelName As String
    Get
    Set
public string ModelName { get; set; }
public:
property String^ ModelName {
    String^ get ();
    void set (String^ value);
}

Property Value

Type: System.String
The name of the model.

See Also

Reference

ModelBindingContext Class

System.Web.Mvc Namespace