asp.net.ph

Array.IsReadOnly Property

System Namespace   Array Class


Returns a value indicating whether the Array is read-only.

[ VB ]
<Serializable>
Overridable Public ReadOnly Property IsReadOnly As Boolean _
   Implements IList.IsReadOnly

[ C# ]
[Serializable]
public virtual bool IsReadOnly {get;}

[ C++ ]
[Serializable]
public: __property virtual bool get_IsReadOnly ( );

[JScript ]
public Serializable
function get IsReadOnly ( ) : Boolean;

Property Value

This property is always false for all arrays.

Implements

IList.IsReadOnly

Remarks

Array implements the IsReadOnly property because it is required by the System.Collections.IList interface.

If you require a read-only collection, use a System.Collections class that implements the System.Collections.IList interface.

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

See Also

Array Members   System.Collections.IList   System.Collections Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph