ReadOnlyCollectionBuilder<T>.ICollection<T>.IsReadOnly Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the ICollection<T> is read-only.
property bool System::Collections::Generic::ICollection<T>::IsReadOnly { bool get(); };
bool System.Collections.Generic.ICollection<T>.IsReadOnly { get; }
member this.System.Collections.Generic.ICollection<T>.IsReadOnly : bool
ReadOnly Property IsReadOnly As Boolean Implements ICollection(Of T).IsReadOnly
Property Value
true
if the ICollection<T> is read-only; otherwise, false
.
Implements
Remarks
A collection that is read-only does not allow the addition, removal, or modification of elements after the collection is created.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.