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

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

ProviderSettings.Parameters プロパティ

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

プロバイダユーザー定義のパラメータコレクション取得します

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

Public ReadOnly Property
 Parameters As NameValueCollection
Dim instance As ProviderSettings
Dim value As NameValueCollection

value = instance.Parameters
public NameValueCollection Parameters { get;
 }
public:
property NameValueCollection^ Parameters {
    NameValueCollection^ get ();
}
/** @property */
public NameValueCollection get_Parameters ()
public function get Parameters
 () : NameValueCollection

プロパティ
プロバイダパラメータの NameValueCollection。

解説解説

この ProviderSettings オブジェクトNameValueCollection パラメータアクセスするには、Parameters プロパティ使用します

使用例使用例

Parameters プロパティへのアクセス方法次のコード例示します

    Dim parameters _
    As NameValueCollection = pSettings.Parameters
 
    Dim pEnum _
    As IEnumerator = parameters.GetEnumerator()
 
 Dim i As Integer = 0
 While pEnum.MoveNext()
        Dim pLength As String
 = _
        parameters(i).Length.ToString()
        Console.WriteLine( _
        "Provider ssettings: {0} has {1} parameters",
 _
        pSettings.Name, pLength)
 End While
Next pSettings
NameValueCollection parameters = 
    pSettings.Parameters;

IEnumerator pEnum = 
    parameters.GetEnumerator();

int i = 0;
while (pEnum.MoveNext())
{
    string pLength = 
        parameters[i].Length.ToString();
    Console.WriteLine(
        "Provider ssettings: {0} has {1} parameters",
        pSettings.Name, pLength);

}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS