Class Position
This ILocator helps distinguish an IAIObject that may appear multiple times in the application by its position.
Implements
Inherited Members
Namespace: HP.LFT.SDK.AI
Assembly: HP.LFT.SDK.dll
Syntax
public class Position : ILocator
Constructors
Position()
Declaration
public Position()
Position(Direction, int)
Declaration
public Position(Direction direction, int index)
Parameters
| Type | Name | Description |
|---|---|---|
| Direction | direction | The direction in which to count the position index. |
| int | index | 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.
Declaration
public Direction Direction { get; set; }
Property Value
| Type | Description |
|---|---|
| Direction |
Index
The ordinal number of the object in the context.
Declaration
public int Index { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
GetProperties()
Returns the inner properties of this property.
Declaration
public IDictionary<string, object> GetProperties()
Returns
| Type | Description |
|---|---|
| IDictionary<string, object> |
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |