<div class="meta" robots="noindex">

</div>

Method

# MemoryBlock.UShort

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2021r1. Please use `MemoryBlock.UInt16Value<memoryblock.uint16value>` as a replacement.

</div>

## Description

Returns an unsigned 16 bit `Integer</api/data_types/integer>`. *Offset* is in bytes from the beginning of the **MemoryBlock**.

## Notes

Equivalent to `MemoryBlock.UInt16Value<memoryblock.uint16value>` which you should use instead.

## Compatibility

All project types on all supported operating systems.
