DataKeyArray.IsReadOnly Property

Gets a value indicating whether the items in the collection can be modified.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

public:
property bool IsReadOnly {
	bool get ();
}
/** @property */
public boolean get_IsReadOnly ()

public function get IsReadOnly () : boolean

Not applicable.

Property Value

false in all cases.

Use the IsReadOnly property to determine whether the items in the DataKeyArray collection can be modified.

NoteNote:

This property has been overridden to always return false, to indicate that the DataKey objects in the DataKeyArray object can be added or removed. The DataKey objects themselves cannot be changed.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: