ProfileSection.Enabled プロパティ
アセンブリ: System.Web (system.web.dll 内)
構文Dim instance As ProfileSection Dim value As Boolean value = instance.Enabled instance.Enabled = value
/** @property */ public boolean get_Enabled () /** @property */ public void set_Enabled (boolean value)
個々のユーザー プロファイルに関する情報にアクセスするために使用できる ProfileCommon クラスを ASP.NET コンパイル システムが生成する必要がある場合は true。それ以外の場合は false。既定値は true です。
解説Enabled プロパティが false の場合、プロファイル機能は無効で、ユーザー プロファイル情報を ASP.NET コードからアクセスすることはできません。
このプロパティが true の場合、実行時に、ASP.NET コンパイル システムは、profile セクションに指定された情報を使用して、ProfileBase から派生した ProfileCommon というクラスを生成します。
使用例Enabled プロパティの使用方法のコード例を次に示します。このコード例は、ProfileSection クラスのトピックで取り上げているコード例の一部分です。
プラットフォームWindows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照Weblioに収録されているすべての辞書からProfileSection.Enabled プロパティを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からProfileSection.Enabled プロパティ
を検索
- ProfileSection.Enabled プロパティのページへのリンク