Share via


DefaultModelBindingContext.ModelName Property

Definition

Gets or sets the name of the model. This property is used as a key for looking up values in IValueProvider during model binding.

public:
 virtual property System::String ^ ModelName { System::String ^ get(); void set(System::String ^ value); };
public override string ModelName { get; set; }
member this.ModelName : string with get, set
Public Overrides Property ModelName As String

Property Value

Applies to