Table of Contents

Method GetEntityPosition

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

GetEntityPosition(object, object)

Return the entity's (zero based)position inside the collection it belongs to.or -1 for no success

public int GetEntityPosition(object entity, object collection)

Parameters

entity object

An object reference to find its position

collection object

Optional. A collection where the entity belongs. If not defined the ActiveLayout entities is used. If entity does not belongs to the collection the function returns -1.

Returns

int

The position of the entity inside the collection or -1 if entity does not exist in the passed collection.

See Also