Bewerken

Share via


ModelErrorMessage.ModelStateKey Property

Definition

Gets or sets the key for which the first error from the page's model state is to be displayed.

public:
 property System::String ^ ModelStateKey { System::String ^ get(); void set(System::String ^ value); };
[System.Web.UI.Themeable(false)]
public string ModelStateKey { get; set; }
[<System.Web.UI.Themeable(false)>]
member this.ModelStateKey : string with get, set
Public Property ModelStateKey As String

Property Value

The key.

Attributes

Applies to