Share via


DataViewPropertyDescriptor.IsReadOnly Property

Gets a value indicating whether the current property descriptor is read-only.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property IsReadOnly As Boolean
'Usage
Dim instance As DataViewPropertyDescriptor 
Dim value As Boolean 

value = instance.IsReadOnly
public override bool IsReadOnly { get; }
public:
virtual property bool IsReadOnly {
    bool get () override;
}
public override function get IsReadOnly () : boolean

Property Value

Type: System.Boolean
A Boolean value indicating whether the current property descriptor is read-only.

Remarks

This property retrieves the IsReadOnly property of the ReadOnlyAttribute attribute of the current property descriptor. If no such attribute exists, this property returns ReadOnlyAttribute.Default.IsReadOnly.

.NET Framework Security

See Also

Reference

DataViewPropertyDescriptor Class

DataViewPropertyDescriptor Members

Microsoft.VisualStudio.Data.Framework Namespace