Share via


DataViewPropertyDescriptor.SetIsReadOnly Method

Adds a ReadOnlyAttribute corresponding to the specified Boolean value that indicates whether the property is read-only.

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

Syntax

'Declaration
Public Sub SetIsReadOnly ( _
    value As Boolean _
)
public void SetIsReadOnly(
    bool value
)
public:
void SetIsReadOnly(
    bool value
)
member SetIsReadOnly : 
        value:bool -> unit
public function SetIsReadOnly(
    value : boolean
)

Parameters

.NET Framework Security

See Also

Reference

DataViewPropertyDescriptor Class

Microsoft.VisualStudio.Data.Framework Namespace