ConfigurationPropertyAttribute.IsDefaultCollection 屬性

定義

取得或設定值,指出這項是否為裝飾的組態屬性之預設屬性集合。

public:
 property bool IsDefaultCollection { bool get(); void set(bool value); };
public bool IsDefaultCollection { get; set; }
member this.IsDefaultCollection : bool with get, set
Public Property IsDefaultCollection As Boolean

屬性值

如果此屬性表示某項目的預設集合,則為 true,否則為 false。 預設為 false

備註

IsDefaultCollection如果裝飾的屬性不是集合,則會忽略屬性值。

適用於