This documentation is archived and is not being maintained.

DataKeyCollection.IsReadOnly Property

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

[Visual Basic]
Public ReadOnly Property IsReadOnly As Boolean
[C#]
public bool IsReadOnly {get;}
[C++]
public: __property bool get_IsReadOnly();
[JScript]
public function get IsReadOnly() : Boolean;

Property Value

false for all cases.

Remarks

This property always returns false to indicate that the DataKeyCollection can be written to in all cases.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

DataKeyCollection Class | DataKeyCollection Members | System.Web.UI.WebControls Namespace

Show: