ConfigurationSection 類別

定義

表示 IIS 7 組態系統中組態資料的區段。

public ref class ConfigurationSection : Microsoft::Web::Administration::ConfigurationElement
public class ConfigurationSection : Microsoft.Web.Administration.ConfigurationElement
type ConfigurationSection = class
    inherit ConfigurationElement
Public Class ConfigurationSection
Inherits ConfigurationElement
繼承
ConfigurationSection

建構函式

ConfigurationSection()

建立 ConfigurationSection 類別的新執行個體。

屬性

Attributes

取得組態屬性集合,其中包含這個專案的屬性清單。

(繼承來源 ConfigurationElement)
ChildElements

取得目前專案的所有子專案。

(繼承來源 ConfigurationElement)
ElementTagName

表示 IIS 7 組態系統中組態資料的區段。

(繼承來源 ConfigurationElement)
IsLocallyStored

取得值,指出組態專案是否儲存在特定組態檔中。

(繼承來源 ConfigurationElement)
IsLocked

取得值,指出目前區段及其子專案是否已鎖定。

Item[String]

取得或設定具有指定名稱的屬性。

(繼承來源 ConfigurationElement)
Methods

取得組態專案的方法集合。

(繼承來源 ConfigurationElement)
OverrideMode

取得或設定值,指出較低層級的組態檔是否可以覆寫目前組態區段中的設定。

OverrideModeEffective

取得值,指出目前的組態區段是否可以有效地覆寫其繼承的設定。

RawAttributes

表示 IIS 7 組態系統中組態資料的區段。

(繼承來源 ConfigurationElement)
Schema

取得目前專案的架構。

(繼承來源 ConfigurationElement)
SectionPath

取得目前組態區段的路徑。

方法

Delete()

表示 IIS 7 組態系統中組態資料的區段。

(繼承來源 ConfigurationElement)
GetAttribute(String)

ConfigurationAttribute傳回 物件,表示要求的屬性。

(繼承來源 ConfigurationElement)
GetAttributeValue(String)

傳回指定之屬性的值。

(繼承來源 ConfigurationElement)
GetChildElement(String)

傳回目前組態專案下且具有指定名稱的子專案。

(繼承來源 ConfigurationElement)
GetChildElement(String, Type)

傳回目前組態專案下且具有指定名稱和類型的子專案。

(繼承來源 ConfigurationElement)
GetCollection()

傳回目前組態專案的預設集合。

(繼承來源 ConfigurationElement)
GetCollection(String)

傳回屬於目前組態專案的所有組態專案。

(繼承來源 ConfigurationElement)
GetCollection(String, Type)

傳回具有指定名稱和型別的組態專案,且位於目前的組態專案底下。

(繼承來源 ConfigurationElement)
GetCollection(Type)

傳回具有指定型別且位於目前組態專案下的組態專案。

(繼承來源 ConfigurationElement)
GetMetadata(String)

從專案架構傳回中繼資料值。

(繼承來源 ConfigurationElement)
RevertToParent()

使目前的組態區段繼承其父區段的所有值。

SetAttributeValue(String, Object)

設定指定屬性的值。

(繼承來源 ConfigurationElement)
SetMetadata(String, Object)

從專案架構設定中繼資料值。

(繼承來源 ConfigurationElement)

適用於