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);
}
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.

Permissions

See Also

Reference

InputAttribute Class

InputAttribute Members

Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace

ReadOnly

InputDescriptor

Other Resources

How to: Add Input Properties to a Data Generator