- TIBCO BusinessEvents®
- Standard
- Instance
- PropertyArray

# Instance.PropertyArray.indexOfLong()

## Signature

`int indexOfLong(PropertyArrayLong arr, long value)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

Returns the index in the PropertyArrayLong of the first occurrence of the specified long value, or -1 if the PropertyArrayLong does not contain this long value.

## Parameters

Name | Type | Description
--- | --- | ---
`arr` | `PropertyArrayLong` | The `PropertyArrayLong` for searching.
`value` | `long` | The specified `long` value to search for.

## Returns

Type | Description
--- | ---
`int` | The index of `value` in the given PropertyArrayLong.

## Cautions

none