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

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

ConfigurationElement.ElementInformation プロパティ

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

ConfigurationElement オブジェクトカスタマイズできない情報機能格納する ElementInformation オブジェクト取得します

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

Public ReadOnly Property
 ElementInformation As ElementInformation
Dim instance As ConfigurationElement
Dim value As ElementInformation

value = instance.ElementInformation
public ElementInformation ElementInformation { get;
 }
public:
property ElementInformation^ ElementInformation {
    ElementInformation^ get ();
}
/** @property */
public ElementInformation get_ElementInformation ()
public function get ElementInformation
 () : ElementInformation

プロパティ
ConfigurationElement オブジェクトカスタマイズできない情報機能格納する ElementInformation オブジェクト

使用例使用例

ElementInformation プロパティ使用する方法の例を次に示します

Public Shared Function GetElementInformation()
 _
As ElementInformation

    ' Get the current configuration file.
    Dim config _
    As System.Configuration.Configuration = _
    ConfigurationManager.OpenExeConfiguration( _
    ConfigurationUserLevel.None)

    ' Get the section.
    Dim section As UrlsSection = CType( _
    config.GetSection("MyUrls"), UrlsSection)

    ' Get the element.
    Dim url As UrlConfigElement = _
    section.Simple

    Dim eInfo As ElementInformation = _
    url.ElementInformation

    Return eInfo

End Function 'GetElementInformation
     
static public ElementInformation
    GetElementInformation()
{

    // Get the current configuration file.
    System.Configuration.Configuration config =
            ConfigurationManager.OpenExeConfiguration(
            ConfigurationUserLevel.None);

    // Get the section.
    UrlsSection section =
        (UrlsSection)config.GetSection("MyUrls");

    // Get the element.
    UrlConfigElement url = section.Simple;

    ElementInformation eInfo =
        url.ElementInformation;

    return eInfo;

}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ConfigurationElement クラス
ConfigurationElement メンバ
System.Configuration 名前空間
ElementInformation


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

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS