Table of Contents

Class Position

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

This ILocator helps distinguish an IAIObject that may appear multiple times in the application by its position.

public class Position : ILocator
Inheritance
Position
Implements
Inherited Members

Constructors

Position()

Constructs a new Position that can be used to uniquely identify an IAIObject by it's position.

public Position()

Position(Direction, int)

Constructs a new Position that can be used to uniquely identify an IAIObject by it's position.

public Position(Direction direction, int index)

Parameters

direction Direction

The direction in which to count the position index.

index int

The ordinal number of the object in the context. Starting with 0 for the first object. The objects that match the description are counted in the direction specified.

Properties

Direction

The direction in which to count the position index.

public Direction Direction { get; set; }

Property Value

Direction

Index

The ordinal number of the object in the context.

public int Index { get; set; }

Property Value

int

Methods

GetProperties()

Returns the inner properties of this property.

public IDictionary<string, object> GetProperties()

Returns

IDictionary<string, object>

ToString()

public override string ToString()

Returns

string