ConfigurationSectionGroupCollection.Add メソッド

定義

このConfigurationSectionGroup オブジェクトにConfigurationSectionGroupCollection オブジェクトを追加します。

public:
 void Add(System::String ^ name, System::Configuration::ConfigurationSectionGroup ^ sectionGroup);
public void Add(string name, System.Configuration.ConfigurationSectionGroup sectionGroup);
member this.Add : string * System.Configuration.ConfigurationSectionGroup -> unit
Public Sub Add (name As String, sectionGroup As ConfigurationSectionGroup)

パラメーター

name
String

追加する ConfigurationSectionGroup オブジェクトの名前。

sectionGroup
ConfigurationSectionGroup

追加する ConfigurationSectionGroup オブジェクト。

注釈

既定では、このメソッドは、指定した ConfigurationSectionGroup オブジェクトがコレクション内にまだ含まれていない場合に追加します。

適用対象