InputAttribute.ReadOnly Property
Gets or sets a value that indicates whether the input property is read-only in the Properties window.
Namespace: Microsoft.Data.Schema.DataGenerator
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Property ReadOnly As Boolean
'Usage
Dim instance As InputAttribute
Dim value As Boolean
value = instance.ReadOnly
instance.ReadOnly = value
public bool ReadOnly { get; set; }
public:
property bool ReadOnly {
bool get ();
void set (bool value);
}
public function get ReadOnly () : boolean
public function set ReadOnly (value : boolean)
Property Value
Type: System.Boolean
true if the property is read-only in the Properties window; otherwise, false.
Remarks
The default value is false.
.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.