Namespace: Rx – Class: CRxArrayUShort – Header: Rx.Core/RxArrayTypes.h

CRxArrayUShort::At Method

C++
const unsigned short& At(size_t nIndex)

Returns a reference to the element at the specified index, with bounds checking. If nIndex is not within the range of the array, an exception is thrown.

Parameters

[size_t] nIndex

The index.

Returns

const unsigned short&

Reference to the requested element.