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

'宣告
Public Overrides ReadOnly Property IsReadOnly As Boolean
    Get
public override bool IsReadOnly { get; }
public:
virtual property bool IsReadOnly {
    bool get () override;
}
abstract IsReadOnly : bool
override IsReadOnly : bool
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