MobileControl.CustomAttributes 属性

定义

返回该控件的自定义属性集。Returns the set of custom attributes defined for the control. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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

属性值

StateBag

为控件定义的自定义特性集。The set of custom attributes defined for the control.

属性

注解

您必须将设置 AllowCustomAttributes 为以 true 启用自定义属性。You must set the AllowCustomAttributes to true to enable custom attributes.

适用于