SectionInformation.GetRawXml メソッドとは? わかりやすく解説

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

SectionInformation.GetRawXml メソッド

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

関連付けられている構成セクション オブジェクトを表す XML ノード オブジェクトを返します。

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

Dim instance As SectionInformation
Dim returnValue As String

returnValue = instance.GetRawXml
public string GetRawXml ()
public:
String^ GetRawXml ()
public String GetRawXml ()

戻り値
この ConfigurationSection セクションの XML 表現が含まれている XmlNode。

例外例外
例外の種類条件

InvalidOperationException

この ConfigurationSection はロックされており、編集できません。

使用例使用例

GetRawXml メソッドを使用する方法のコード例を次に示します。

Public Shared Sub GetSectionXml()

    Dim sInfo As SectionInformation = _
    GetSectionInformation()

    Dim sectionXml As String
 = sInfo.GetRawXml()

    Console.WriteLine("Section xml:")
    Console.WriteLine(sectionXml)

End Sub 'GetSectionXml
 
static public void GetSectionXml()
{
    SectionInformation sInfo =
        GetSectionInformation();

    string sectionXml =
        sInfo.GetRawXml();

    Console.WriteLine("Section xml:");
    Console.WriteLine(sectionXml);

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



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「SectionInformation.GetRawXml メソッド」の関連用語

SectionInformation.GetRawXml メソッドのお隣キーワード
検索ランキング

   

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



SectionInformation.GetRawXml メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS