TextWithMatchOptions Class

A structure that contains the text together with the match method for describing an IAIObject.

C# Syntax

public class AIObjectDescription : HP.LFT.SDK.PropertiesDescription  
Public Constructors
 NameDescription
Protected ConstructorTextWithMatchOptions (string, MatchMethod)

Constructs a new TextWithMatchOptions object that can be used to uniquely identify an IAIObject by its text and specifies the match method to be used for identification.  

C# Syntax

TextWithMatchOptions (string text, 
                      MatchMethod matchMethod)

Parameters

text - The text to use to identify the AI object.

matchMethod - The text match method to use when identifying the AI object by its text.

Protected ConstructorTextWithMatchOptions (RegExpProperty, MatchMethod)

Constructs a new TextWithMatchOptions object that uses a regular expression to identify an IAIObject's text and specifies the match method to be used for identification.

C# Syntax

TextWithMatchOptions (RegExpProperty regExp,
                      MatchMethod matchMethod)

Parameters

regExp - The regular expression to match to the AI object's text.

matchMethod - The text match method to use.

Top
Public Properties
 NameDescription
Public PropertyText
The text used to identify the AI Object.

C# Syntax

StringProperty Text {get; set;}
Public PropertyRegExp

The regular expression used to identify the AI object.

C# Syntax

RegExpProperty RegExp {get; set;}
Public PropertyMatchMethod

The match method to use when identifying the AI object by its text.

C# Syntax

MatchMethod MatchMethod {get; set;}
Top