ModelErrorMessage.AssociatedControlID 属性

定义

获取或设置与错误信息相关联的控件的 ID。

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

属性值

String

控件的 ID。

属性

适用于