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

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

ProtectedConfiguration.Providers プロパティ

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

インストールされている保護され構成プロバイダコレクション取得します

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

Public Shared ReadOnly Property
 Providers As ProtectedConfigurationProviderCollection
Dim value As ProtectedConfigurationProviderCollection

value = ProtectedConfiguration.Providers
public static ProtectedConfigurationProviderCollection
 Providers { get; }
public:
static property ProtectedConfigurationProviderCollection^ Providers
 {
    ProtectedConfigurationProviderCollection^ get ();
}
/** @property */
public static ProtectedConfigurationProviderCollection
 get_Providers ()
public static function get
 Providers () : ProtectedConfigurationProviderCollection

プロパティ
インストールされている ProtectedConfigurationProvider オブジェクトの ProtectedConfigurationProviderCollection コレクション

使用例使用例

Providers使用する方法の例を次に示します

<PermissionSet( _
 SecurityAction.Demand, Name:="FullTrust")> _
 Private Shared Sub GetProviders()
   ' Get the providers' collection.
     Dim providers _
     As ProtectedConfigurationProviderCollection = _
     ProtectedConfiguration.Providers
   
     Dim pEnum As IEnumerator = _
     providers.GetEnumerator()
   
     Dim provider _
     As ProtectedConfigurationProvider

     For Each provider In
 providers
         Console.WriteLine( _
         "Provider name: {0}", provider.Name)
         Console.WriteLine( _
         "Provider description: {0}", provider.Description)
     Next provider
End Sub 'GetProviders
  [PermissionSet(SecurityAction.Demand, Name="FullTrust")]    
private static void GetProviders()
  {
      // Get the providers' collection.
      ProtectedConfigurationProviderCollection
          providers = ProtectedConfiguration.Providers;

      IEnumerator pEnum =
          providers.GetEnumerator();

      foreach (ProtectedConfigurationProvider provider in
          providers)
      {
          Console.WriteLine
              ("Provider name: {0}",
                provider.Name);
          Console.WriteLine
                   ("Provider description: {0}",
                    provider.Description);
     
      }
 
  }
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ProtectedConfiguration クラス
ProtectedConfiguration メンバ
System.Configuration 名前空間
ProtectedConfigurationProvider


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

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS