InputAttribute.ReadOnly Property
Gets or sets a value that indicates whether the input property is read-only in the Properties window.
Namespace: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in microsoft.visualstudio.teamsystem.data.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);
}
/** @property */
public boolean get_ReadOnly ()
/** @property */
public void set_ReadOnly (boolean value)
public function get ReadOnly () : boolean
public function set ReadOnly (value : boolean)
Property Value
true if the property is read-only in the Properties window; otherwise, false.
Remarks
The default value is false.
See Also
Tasks
How to: Add Input Properties to a Data Generator
Reference
InputAttribute Class
InputAttribute Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
ReadOnly
InputDescriptor