MobileControl.CustomAttributes 属性

定义

返回该控件的自定义属性集。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 ASP.NET 的网站

public:
 property System::Web::UI::StateBag ^ CustomAttributes { System::Web::UI::StateBag ^ get(); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.Browsable(false)]
public System.Web.UI.StateBag CustomAttributes { get; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.Browsable(false)>]
member this.CustomAttributes : System.Web.UI.StateBag
Public ReadOnly Property CustomAttributes As StateBag

属性值

为控件定义的自定义特性集。

属性

注解

必须将 设置为 AllowCustomAttributestrue 才能启用自定义属性。

适用于

另请参阅