ModelErrorMessage.ModelStateKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา