ConfigurationElementCollectionType 列舉

定義

指定 ConfigurationElementCollectionType 物件的型別。

public enum class ConfigurationElementCollectionType
public enum ConfigurationElementCollectionType
type ConfigurationElementCollectionType = 
Public Enum ConfigurationElementCollectionType
繼承
ConfigurationElementCollectionType

欄位

AddRemoveClearMap 1

ConfigurationElementCollection 的預設型別。 這個型別的集合包含可在組態檔的階層架構之間合併的項目。 在這個階層架構的任一特定層級中,addremoveclear 指示詞會用於修改任何繼承屬性,並指定新繼承屬性。

AddRemoveClearMapAlternate 3

AddRemoveClearMap 相同,除了這個型別會導致 ConfigurationElementCollection 物件排序其內容,而使繼承項目最後列出。

BasicMap 0

這個型別的集合包含項目,這些項目會套用至指定的層級及所有子層級。 子層級無法修改由這個型別的父項目指定的屬性。

BasicMapAlternate 2

BasicMap 相同,除了這個型別會導致 ConfigurationElementCollection 物件排序其內容,而使繼承項目最後列出。

備註

這個列舉包含 屬性的所有可能傳回值 CollectionType 。 組態系統會在運行時間使用,以正確合併組態設定。 建立擴充的 ConfigurationElementCollection自定義類別時也會使用它。

根據預設,物件的類型 ConfigurationElementCollectionAddRemoveClearMapBasicMap如果需要 ,請在CollectionType擴充 ConfigurationElementCollection時覆寫 屬性。

適用於