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

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

ProfilePropertySettings.AllowAnonymous プロパティ

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

動的に生成されProfileCommon クラス関連付けられているプロパティ匿名ユーザー設定できるかどうかを示す値を取得または設定します

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

Dim instance As ProfilePropertySettings
Dim value As Boolean

value = instance.AllowAnonymous

instance.AllowAnonymous = value
public bool AllowAnonymous { get;
 set; }
public:
property bool AllowAnonymous {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_AllowAnonymous ()

/** @property */
public void set_AllowAnonymous (boolean value)
public function get AllowAnonymous
 () : boolean

public function set AllowAnonymous
 (value : boolean)

プロパティ
ProfileCommon クラス関連付けられているプロパティ匿名ユーザー設定できる場合true匿名ユーザープロパティ値を変更できない場合false既定値false です。

解説解説
使用例使用例

AllowAnonymous プロパティ使用方法コード例次に示します。このコード例は、ProfileSection クラストピック取り上げているコード例一部分です。

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

' Set the AllowAnonymous property to true.
profilePropertySettings.AllowAnonymous = true
// Get the current AllowAnonymous property value.
Console.WriteLine(
    "Current AllowAnonymous value: '{0}'", profilePropertySettings.AllowAnonymous);

// Set the AllowAnonymous property to true.
profilePropertySettings.AllowAnonymous = true;
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ProfilePropertySettings クラス
ProfilePropertySettings メンバ
System.Web.Configuration 名前空間
ProfileSection



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

辞書ショートカット

すべての辞書の索引

「ProfilePropertySettings.AllowAnonymous プロパティ」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS