Table of Contents

Class TextWithMatchOptions

Namespace
HP.LFT.SDK.AI
Assembly
HP.LFT.SDK.dll

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

public class TextWithMatchOptions
Inheritance
TextWithMatchOptions
Inherited Members

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.

public TextWithMatchOptions(RegExpProperty regExp, MatchMethod matchMethod)

Parameters

regExp RegExpProperty

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.

public TextWithMatchOptions(string text, MatchMethod matchMethod)

Parameters

text string

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.

public MatchMethod MatchMethod { get; set; }

Property Value

MatchMethod

RegExp

The regular expression used to identify the AI object.

public RegExpProperty RegExp { get; set; }

Property Value

RegExpProperty

Text

The text used to identify the AI Object.

public StringProperty Text { get; set; }

Property Value

StringProperty