# Format::getCode()

URL: https://chugunov.pro/api-bitrix/location/entity/format/getcode/
Проверено на 1С-Битрикс 25.x, обновлено 03.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией 1С-Битрикс.

Класс: [`\Bitrix\Location\Entity\Format`](https://chugunov.pro/api-bitrix/location/entity/format/)
Модуль: Location.
Свойства элемента: method, public.

## Сигнатура

```php
public getCode() : string
```

## Возвращаемое значение

`string`

Оригинал в официальной документации: https://docs.1c-bitrix.ru/api/classes/Bitrix-Location-Entity-Format.html
