Share via


TestElement.ReadOnly Property

When overridden in a derived class, gets or sets 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
Public MustOverride Property ReadOnly As Boolean
public abstract bool ReadOnly { get; set; }
public:
virtual property bool ReadOnly {
    bool get () abstract;
    void set (bool value) abstract;
}
abstract ReadOnly : bool with get, set
abstract function get ReadOnly () : boolean 
abstract function set ReadOnly (value : boolean)

Property Value

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

Implements

ITestElement.ReadOnly

.NET Framework Security

See Also

Reference

TestElement Class

Microsoft.VisualStudio.TestTools.Common Namespace