ConfigurationSectionGroup.Name 屬性

定義

取得這個 ConfigurationSectionGroup 物件的名稱屬性。

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

屬性值

這個 ConfigurationSectionGroup 物件的名稱屬性。

範例

下列程式代碼範例示範如何顯示類別的 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屬性值是不包含父區段群組的區段組名。

適用於

另請參閱