Share via


HtmlControl クラス

ASP.NET ページ フレームワークのすべての HTML サーバー コントロールに共通のメソッド、プロパティ、およびイベントを定義します。

名前空間: System.Web.UI.HtmlControls
アセンブリ: System.Web (system.web.dll 内)

構文

'宣言
Public MustInherit Class HtmlControl
    Inherits Control
    Implements IAttributeAccessor
'使用
Dim instance As HtmlControl
public abstract class HtmlControl : Control, IAttributeAccessor
public ref class HtmlControl abstract : public Control, IAttributeAccessor
public abstract class HtmlControl extends Control implements IAttributeAccessor
public abstract class HtmlControl extends Control implements IAttributeAccessor
適用できません。

解説

HtmlControl クラスはすべての HTML サーバー コントロール クラスが継承する共通のプロパティを提供します。このクラスの新しいインスタンスを直接作成することはできません。

トピック 場所
方法 : ASP.NET Web ページのコントロールの HTML 属性を設定する Visual Studio ASP .NET での Web アプリケーションの作成
方法 : ASP.NET Web ページのコントロールの HTML 属性を設定する Visual Studio ASP .NET での Web アプリケーションの作成
方法 : ASP.NET Web ページのコントロールの HTML 属性を設定する ASP .NET Web アプリケーションの作成

.NET Framework のセキュリティ

  • AspNetHostingPermission  (ホスト環境での動作に必要なアクセス許可)要求値 : LinkDemand; アクセス許可値 : Minimal
  • AspNetHostingPermission  (ホスト環境での動作に必要なアクセス許可)要求値 : InheritanceDemand; アクセス許可値 : Minimal

継承階層

System.Object
   System.Web.UI.Control
    System.Web.UI.HtmlControls.HtmlControl
       派生クラス

スレッド セーフ

この型の public static (Visual Basicでは共有) メンバはすべて,スレッド セーフです。インスタンス メンバの場合は,スレッド セーフであるとは限りません。

プラットフォーム

Windows 98,Windows Server 2000 SP4,Windows CE,Windows Millennium Edition,Windows Mobile for Pocket PC,Windows Mobile for Smartphone,Windows Server 2003,Windows XP Media Center Edition,Windows XP Professional x64 Edition,Windows XP SP2,Windows XP Starter Edition

Microsoft .NET Framework 3.0 は Windows Vista,Microsoft Windows XP SP2,および Windows Server 2003 SP1 でサポートされています。

バージョン情報

.NET Framework

サポート対象 : 3.0,2.0,1.1,1.0

参照

関連項目

HtmlControl メンバ
System.Web.UI.HtmlControls 名前空間