Share via


ITestElement.ReadOnly Property

Gets a value that indicates whether this test element is read-only.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Property ReadOnly As Boolean
'Usage
Dim instance As ITestElement 
Dim value As Boolean 

value = instance.ReadOnly

instance.ReadOnly = value
bool ReadOnly { get; set; }
property bool ReadOnly {
    bool get ();
    void set (bool value);
}
function get ReadOnly () : boolean 
function set ReadOnly (value : boolean)

Property Value

Type: System.Boolean
true if this test element is read-only; otherwise, false.

.NET Framework Security

See Also

Reference

ITestElement Interface

ITestElement Members

Microsoft.VisualStudio.TestTools.Common Namespace