共用方式為


ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>.ICollection<TServiceModelExtensionElement>.IsReadOnly 屬性

定義

取得值,該值指出這個 ServiceModelExtensionCollectionElement<TServiceModelExtensionElement> 是否唯讀。

property bool System::Collections::Generic::ICollection<TServiceModelExtensionElement>::IsReadOnly { bool get(); };
bool System.Collections.Generic.ICollection<TServiceModelExtensionElement>.IsReadOnly { get; }
member this.System.Collections.Generic.ICollection<TServiceModelExtensionElement>.IsReadOnly : bool
 ReadOnly Property IsReadOnly As Boolean Implements ICollection(Of TServiceModelExtensionElement).IsReadOnly

屬性值

Boolean

如果 true 是唯讀,則為 ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>,否則為 false

實作

備註

唯讀的集合不允許在集合建立後增加、移除或修改項目。

適用於