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
'Usage
Dim instance As TestElement
Dim value As Boolean
value = instance.ReadOnly
instance.ReadOnly = value
public abstract bool ReadOnly { get; set; }
public:
virtual property bool ReadOnly {
bool get () abstract;
void set (bool value) abstract;
}
public abstract function get ReadOnly () : boolean
public abstract function set ReadOnly (value : boolean)
Property Value
Type: System.Boolean
true if this test element is read-only; otherwise, false.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.