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

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ProfileGroupSettingsCollection クラスの意味・解説 

ProfileGroupSettingsCollection クラス

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

ProfileGroupSettings オブジェクトセット格納します

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

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

以下は、構成ファイルからの抜粋です。ProfileGroupSettingsCollection複数プロパティに対してprofile 構成ファイル セクションproperties 要素group 要素として、宣言によって値を指定する方法示してます。

<system.web>
  <profile enabled = "true"          defaultProvider="AspNetSqlProfileProvider">
    <providers>
      <add  name="AspNetSqlProfileProvider"
        type="System.Web.Profile.SqlProfileProvider "
        connectionStringName="LocalSqlServer"
        applicationName="/"
        description="Stores and retrieves profile data from the 
        local Microsoft SQL Server database" />
    </providers>

    <properties>
      <group name = "SiteColors" >
        <add name = "BackGround"/>
        <add name = "SideBar"/>
        <add name = "ForeGroundText"/>
        <add name = "ForeGroundBorders"/>
      </group>
      <group name="Forums">
        <add name = "HasAvatar" type="bool" provider="Forums"/>
        <add name = "LastLogin" type="DateTime" provider="Forums"/>
        <add name = "TotalPosts" type="int" provider="Forums"/>
      </group>
    </properties>
  </profile>
</system.web>
継承階層継承階層
System.Object
   System.Configuration.ConfigurationElement
     System.Configuration.ConfigurationElementCollection
      System.Web.Configuration.ProfileGroupSettingsCollection
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ProfileGroupSettingsCollection メンバ
System.Web.Configuration 名前空間
ProfileSection
RootProfilePropertySettingsCollection
ProfilePropertySettingsCollection
ProfilePropertySettings
ProfileGroupSettings クラス
その他の技術情報
profile 要素 (ASP.NET 設定スキーマ)



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

辞書ショートカット

すべての辞書の索引

「ProfileGroupSettingsCollection クラス」の関連用語

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

   

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



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

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

©2024 GRAS Group, Inc.RSS