MatchCollection.IList.IsFixedSize 屬性

定義

取得值,這個值表示集合的大小是否是固定的。

property bool System::Collections::IList::IsFixedSize { bool get(); };
bool System.Collections.IList.IsFixedSize { get; }
member this.System.Collections.IList.IsFixedSize : bool
 ReadOnly Property IsFixedSize As Boolean Implements IList.IsFixedSize

屬性值

true.

實作

備註

這個成員是明確介面成員實作, 只有在 MatchCollection 執行個體轉換成 IList 介面時,才能使用這個成員。

具有固定大小的集合不允許在集合建立後新增或移除項目,但允許對現有項目進行修改。

適用於