ProfileSection.AutomaticSaveEnabled プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ProfileSection.AutomaticSaveEnabled プロパティの意味・解説 

ProfileSection.AutomaticSaveEnabled プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

ユーザー プロファイル情報への変更を、ページ終了時自動的に保存するかどうか決定する値を取得または設定します

名前空間: System.Web.Configuration
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public Property AutomaticSaveEnabled As
 Boolean
Dim instance As ProfileSection
Dim value As Boolean

value = instance.AutomaticSaveEnabled

instance.AutomaticSaveEnabled = value
public bool AutomaticSaveEnabled { get;
 set; }
public:
property bool AutomaticSaveEnabled {
    bool get ();
    void set (bool 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 クラストピック取り上げているコード例一部分です。

' Get the current AutomaticSaveEnabled property value.
Console.WriteLine( _
    "Current AutomaticSaveEnabled value: '{0}'", profileSection.AutomaticSaveEnabled)

' Set the AutomaticSaveEnabled property to false.
profileSection.AutomaticSaveEnabled = false

// Get the current AutomaticSaveEnabled property value.
Console.WriteLine(
    "Current AutomaticSaveEnabled value: '{0}'", profileSection.AutomaticSaveEnabled);

// Set the AutomaticSaveEnabled property to false.
profileSection.AutomaticSaveEnabled = false;

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ProfileSection クラス
ProfileSection メンバ
System.Web.Configuration 名前空間
ProfileModule
ProfileAutoSaving


このページでは「.NET Framework クラス ライブラリ リファレンス」からProfileSection.AutomaticSaveEnabled プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からProfileSection.AutomaticSaveEnabled プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からProfileSection.AutomaticSaveEnabled プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「ProfileSection.AutomaticSaveEnabled プロパティ」の関連用語

ProfileSection.AutomaticSaveEnabled プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ProfileSection.AutomaticSaveEnabled プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS