Entity.IsReadOnly Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets a value indicating whether this entity is currently in a read-only state.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
<DisplayAttribute(AutoGenerateField := False)> _
Public ReadOnly Property IsReadOnly As Boolean
    Get
'Usage
Dim instance As Entity
Dim value As Boolean

value = instance.IsReadOnly
[DisplayAttribute(AutoGenerateField = false)]
public bool IsReadOnly { get; }
[DisplayAttribute(AutoGenerateField = false)]
public:
property bool IsReadOnly {
    bool get ();
}
[<DisplayAttribute(AutoGenerateField = false)>]
member IsReadOnly : bool
function get IsReadOnly () : boolean

Property Value

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

See Also

Reference

Entity Class

System.ServiceModel.DomainServices.Client Namespace