ProfileSection.AutomaticSaveEnabled プロパティ
アセンブリ: 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 プロパティのページへのリンク