ConfigurationSection.SerializeSection メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ファイルに書き込む単一のセクションとして、 ConfigurationSection オブジェクトの結合されていないビューを含む XML 文字列を作成します。
protected public:
virtual System::String ^ SerializeSection(System::Configuration::ConfigurationElement ^ parentElement, System::String ^ name, System::Configuration::ConfigurationSaveMode saveMode);
protected internal virtual string SerializeSection(System.Configuration.ConfigurationElement parentElement, string name, System.Configuration.ConfigurationSaveMode saveMode);
abstract member SerializeSection : System.Configuration.ConfigurationElement * string * System.Configuration.ConfigurationSaveMode -> string
override this.SerializeSection : System.Configuration.ConfigurationElement * string * System.Configuration.ConfigurationSaveMode -> string
Protected Friend Overridable Function SerializeSection (parentElement As ConfigurationElement, name As String, saveMode As ConfigurationSaveMode) As String
パラメーター
- parentElement
- ConfigurationElement
マージ解除の実行時に親として使用する ConfigurationElement インスタンス。
- name
- String
作成するセクションの名前。
- saveMode
- ConfigurationSaveMode
文字列に書き込むときに使用する ConfigurationSaveMode インスタンス。
返品
ConfigurationSection オブジェクトの結合されていないビューを含む XML 文字列。
注釈
シリアル化とは、オブジェクトに含まれるリアルタイム データを XML 形式に変換し、そのストレージを構成ファイルに変換することを指します。