ProfileGroupSettings クラスとは? わかりやすく解説

ProfileGroupSettings クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

構成ファイルprofiles セクションgroup サブセクションプログラムかアクセスできるようにします。

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

Public NotInheritable Class
 ProfileGroupSettings
    Inherits ConfigurationElement
Dim instance As ProfileGroupSettings
public sealed class ProfileGroupSettings :
 ConfigurationElement
public ref class ProfileGroupSettings sealed
 : public ConfigurationElement
public final class ProfileGroupSettings extends
 ConfigurationElement
public final class ProfileGroupSettings extends
 ConfigurationElement
解説解説
使用例使用例

ProfileGroupSettings 型を使用する方法次のコード例示します。このコード例は、ProfileSection クラストピック取り上げているコード例一部分です。

' Add a new group.
Dim newPropGroup As ProfileGroupSettings =
 new ProfileGroupSettings("Forum")
profileSection.PropertySettings.GroupSettings.Add(newPropGroup)

' Add a new PropertySettings to the group.
Dim newProp As ProfilePropertySettings = new
 ProfilePropertySettings("AvatarImage")
newProp.Type = "System.String, System.dll"
newPropGroup.PropertySettings.Add(newProp)

' Remove a PropertySettings from the group.
newPropGroup.PropertySettings.Remove("AvatarImage")
newPropGroup.PropertySettings.RemoveAt(0)

' Clear all PropertySettings from the group.
newPropGroup.PropertySettings.Clear()
// Add a new group.
ProfileGroupSettings newPropGroup = new ProfileGroupSettings("Forum");
profileSection.PropertySettings.GroupSettings.Add(newPropGroup);

// Add a new PropertySettings to the group.
ProfilePropertySettings newProp = new ProfilePropertySettings("AvatarImage");
newProp.Type = "System.String, System.dll";
newPropGroup.PropertySettings.Add(newProp);

// Remove a PropertySettings from the group.
newPropGroup.PropertySettings.Remove("AvatarImage");
newPropGroup.PropertySettings.RemoveAt(0);

// Clear all PropertySettings from the group.
newPropGroup.PropertySettings.Clear();
継承階層継承階層
System.Object
   System.Configuration.ConfigurationElement
    System.Web.Configuration.ProfileGroupSettings
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ProfileGroupSettings メンバ
System.Web.Configuration 名前空間
ProfileSection
RootProfilePropertySettingsCollection
ProfileGroupSettingsCollection
ProfilePropertySettingsCollection
ProfilePropertySettings
その他の技術情報
profile 要素 (ASP.NET 設定スキーマ)


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

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

辞書ショートカット

すべての辞書の索引

「ProfileGroupSettings クラス」の関連用語

ProfileGroupSettings クラスのお隣キーワード
検索ランキング

   

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



ProfileGroupSettings クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS