UITechnologyElement.SupportLevel Property
Gets a value that is used by the test recording and playback engine to find a matching UITechnologyManager for this element.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Overridable Property SupportLevel As Integer
public virtual int SupportLevel { get; set; }
public:
virtual property int SupportLevel {
int get ();
void set (int value);
}
abstract SupportLevel : int with get, set
override SupportLevel : int with get, set
function get SupportLevel () : int
function set SupportLevel (value : int)
Property Value
Type: System.Int32
An int that indicates the required level of support for this element.
Remarks
Several UITechnologyManager instances that claim to support any given control may occur, so the record and playback engine queries the GetControlSupportLevel method and uses the technology manager that returns the largest number.
.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.