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);
}
/** @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 input is read-only in the Properties window; otherwise, false.

See Also

Tasks

How to: Add Input Properties to a Data Generator
Walkthrough: Creating a Custom Data Generator

Reference

InputDescriptor Class
InputDescriptor Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
SetInputValues
InputAttribute Class