Share via


InputDescriptor.ReadOnly Property

Gets or sets whether the input 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 InputDescriptor
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 input is read-only in the Properties window; otherwise, false.

Permissions

See Also

Reference

InputDescriptor Class

InputDescriptor Members

Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace

SetInputValues

InputAttribute

Other Resources

How to: Add Input Properties to a Data Generator

Walkthrough: Creating a Custom Data Generator