다음을 통해 공유


UIActionInterpreter.TopLevelWindowSinglePassSearch Property

Gets or sets a value that indicates whether single pass search will be used for top level windows.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
Assembly:  Microsoft.VisualStudio.TestTools.UITest.CodeGeneration (in Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.dll)

Syntax

'Declaration
Public Property TopLevelWindowSinglePassSearch As Boolean
public bool TopLevelWindowSinglePassSearch { get; set; }
public:
property bool TopLevelWindowSinglePassSearch {
    bool get ();
    void set (bool value);
}
member TopLevelWindowSinglePassSearch : bool with get, set
function get TopLevelWindowSinglePassSearch () : boolean 
function set TopLevelWindowSinglePassSearch (value : boolean)

Property Value

Type: Boolean
true to use single pass search; otherwise, false.

Remarks

MTR sets this property to true on init and resets it after the first non test-step marker action.

So unlike other properties, this has to be applied immediately and not on ApplyInterprterSettings alone.

.NET Framework Security

See Also

Reference

UIActionInterpreter Class

Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace