Partager 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
public override bool IsReadOnly { get; }
public:
virtual property bool IsReadOnly {
    bool get () override;
}
abstract IsReadOnly : bool with get 
override IsReadOnly : bool with get
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

Microsoft.VisualStudio.Data.Framework Namespace