ProfileSection.AutomaticSaveEnabled プロパティ
メモ : このプロパティは、.NET Framework version 2.0 で新しく追加されたものです。
ユーザー プロファイル情報への変更を、ページ終了時に自動的に保存するかどうかを決定する値を取得または設定します。
名前空間: System.Web.Configuration
アセンブリ: System.Web (system.web.dll 内)
構文
Dim instance As ProfileSection Dim value As Boolean value = instance.AutomaticSaveEnabled instance.AutomaticSaveEnabled = value
/** @property */ public boolean get_AutomaticSaveEnabled () /** @property */ public void set_AutomaticSaveEnabled (boolean value)
public function get AutomaticSaveEnabled () : boolean public function set AutomaticSaveEnabled (value : boolean)
プロパティ値
プロファイル情報がページ終了時に自動的に保存される場合は true。それ以外の場合は false。既定値は true です。

AutomaticSaveEnabled プロパティが false の場合、個々のプロファイルへの変更は、ProfileCommon クラスの Save メソッドがコードで呼び出されない限り保存されません。AutomaticSaveEnabled プロパティが true の場合、ProfileAutoSaving イベントを使用することでもコードで自動保存動作をオーバーライドできます。

AutomaticSaveEnabled プロパティの使用方法のコード例を次に示します。このコード例は、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.AutomaticSaveEnabled プロパティを検索する場合は、下記のリンクをクリックしてください。

- ProfileSection.AutomaticSaveEnabled プロパティのページへのリンク