Open topic with navigation

HighlightMatches<TChild> Method
Highlights all children that match the specified test object type and description filter.

C# Syntax

    uint HighlightMatches<TChild>(
       IDescription description
    )
    where TChild: class, ITestObject

Parameters

description
  A description containing the set of properties and values that is common to all objects to be are highlighted.

Type Parameters

TChild
  The test object interface type to highlight. To avoid limiting to a specific test object type, use ITestObject.

Return Value

The number of object that match the provided description and were highlighted.