Table of Contents

Class TextWithMatchOptions

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

Inheritance
TextWithMatchOptions
Namespace: HP.LFT.SDK.AI
Assembly: HP.LFT.SDK.dll
Syntax
public class TextWithMatchOptions

Constructors

TextWithMatchOptions(RegExpProperty, MatchMethod)

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

Declaration
public TextWithMatchOptions(RegExpProperty regExp, MatchMethod matchMethod)
Parameters
Type Name Description
RegExpProperty regExp

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

MatchMethod matchMethod

The match method to use.

TextWithMatchOptions(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.

Declaration
public TextWithMatchOptions(string text, MatchMethod matchMethod)
Parameters
Type Name Description
string text

The text to use to identify the AI object.

MatchMethod matchMethod

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

Properties

MatchMethod

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

Declaration
public MatchMethod MatchMethod { get; set; }
Property Value
Type Description
MatchMethod

RegExp

The regular expression used to identify the AI object.

Declaration
public RegExpProperty RegExp { get; set; }
Property Value
Type Description
RegExpProperty

Text

The text used to identify the AI Object.

Declaration
public StringProperty Text { get; set; }
Property Value
Type Description
StringProperty