次の方法で共有


ConfigurationSectionGroup.Name プロパティ

定義

この ConfigurationSectionGroup オブジェクトの name プロパティを取得します。

public:
 property System::String ^ Name { System::String ^ get(); };
public string Name { get; }
member this.Name : string
Public ReadOnly Property Name As String

プロパティ値

この ConfigurationSectionGroup オブジェクトの name プロパティ。

次のコード例は、 ConfigurationSectionGroup クラスのこのインスタンスの名前を表示する方法を示しています。 これは、 ConfigurationSectionGroup クラスの概要で提供される大きな例の一部です。

// Get the section group name.
indent("Section Group Name: " + sectionGroup.Name);
' Get the section group name.
indent("Section Group Name: " + sectionGroup.Name)

注釈

Name プロパティの値は、親セクション グループを含まないセクション グループの名前です。

適用対象

こちらもご覧ください