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

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

ProfileSection.Providers プロパティ

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

ProviderSettings オブジェクトコレクション取得します

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

Public ReadOnly Property
 Providers As ProviderSettingsCollection
Dim instance As ProfileSection
Dim value As ProviderSettingsCollection

value = instance.Providers
public ProviderSettingsCollection Providers { get;
 }
public:
property ProviderSettingsCollection^ Providers {
    ProviderSettingsCollection^ get ();
}
/** @property */
public ProviderSettingsCollection get_Providers ()
public function get Providers
 () : ProviderSettingsCollection

プロパティ
構成ファイルprofile セクションproviders サブセクション内で定義されるプロバイダ格納している ProviderSettingsCollection。

解説解説
使用例使用例

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

Console.WriteLine("Current Providers:")
Dim providerCtr As Integer
 = 0
For Each provider As ProviderSettings
 In profileSection.Providers
    Console.WriteLine("  {0}: Provider '{1}' of type '{2}'",
 ++providerCtr, _
        provider.Name, provider.Type)
Next

' Add a new provider.
profileSection.Providers.Add(new ProviderSettings("AspNetSqlProvider",
 "...SqlProfileProvider"))

// Display all current Providers.
Console.WriteLine("Current Providers:");
int providerCtr = 0;
foreach (ProviderSettings provider in profileSection.Providers)
{
    Console.WriteLine("  {0}: Provider '{1}' of type '{2}'", ++providerCtr,
 
        provider.Name, provider.Type);
}

// Add a new provider.
profileSection.Providers.Add(new ProviderSettings("AspNetSqlProvider",
 "...SqlProfileProvider"));

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



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

辞書ショートカット

すべての辞書の索引

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

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

   

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



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

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

©2025 GRAS Group, Inc.RSS