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
value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.