TestElement.Enabled Property

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

Syntax

'宣言
<GroupingPropertyAttribute> _
<PropertyWindowAttribute> _
<UserVisiblePropertyAttribute("{376F2C59-87E5-416d-8109-7B40DEAA2EF5}")> _
Public Overridable Property Enabled As Boolean
'使用
Dim instance As TestElement
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
[GroupingPropertyAttribute]
[PropertyWindowAttribute]
[UserVisiblePropertyAttribute("{376F2C59-87E5-416d-8109-7B40DEAA2EF5}")]
public virtual bool Enabled { get; set; }
[GroupingPropertyAttribute]
[PropertyWindowAttribute]
[UserVisiblePropertyAttribute(L"{376F2C59-87E5-416d-8109-7B40DEAA2EF5}")]
public:
virtual property bool Enabled {
    bool get ();
    void set (bool value);
}
public function get Enabled () : boolean
public function set Enabled (value : boolean)

Property Value

Type: System.Boolean

Implements

ITestElement.Enabled

Permissions

See Also

Reference

TestElement Class

TestElement Members

Microsoft.VisualStudio.TestTools.Common Namespace