XmlElementAttributes.IList.IsReadOnly Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a value that indicates whether the list is read-only.

Namespace:  System.Xml.Serialization
Assembly:  System.Xml.Serialization (in System.Xml.Serialization.dll)

Syntax

Private ReadOnly Property IsReadOnly As Boolean
    Implements IList.IsReadOnly
bool IList.IsReadOnly { get; }

Property Value

Type: System..::.Boolean
true if the list is read-only; otherwise, false.

Implements

IList..::.IsReadOnly

Remarks

A collection that is read-only does not allow the addition, removal, or modification of elements after the collection is created.

Note that when an interface method is explicitly implemented, it is no longer visible as a public member of the class. The only way to access it is through the interface.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

XmlElementAttributes Class

System.Xml.Serialization Namespace