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



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

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

   

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



ProfilePropertySettings.AllowAnonymous プロパティのページの著作権

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

©2026 GRAS Group, Inc.RSS