---
title: "Type IDs"
url: https://docs.zeroc.com/ice/3.8/slice/type-ids
docs_index: https://docs.zeroc.com/llms.txt
---

> For an index of every page, see [llms.txt](https://docs.zeroc.com/llms.txt).

# Type IDs

Every Slice interface, class, and user exception has a type ID: its fully qualified Slice name, starting with `::`. For example, the type ID of the `Greeter` interface in the [Greeter example](https://docs.zeroc.com/ice/3.8/greeter-example/defining-the-greeter-interface-in-slice.md) is `::VisitorCenter::Greeter`.

Type IDs serve two unrelated purposes:

- A marshaled class instance or user exception carries its type ID, which Ice uses when unmarshaling to create an instance of the mapped type; see [Slice Loaders](https://docs.zeroc.com/ice/3.8/slice/user-defined-types/classes/slice-loaders.md).
- The `ice_isA`, `ice_id`, and `ice_ids` operations take or return the type IDs of interfaces; see [Operations on Object](https://docs.zeroc.com/ice/3.8/slice/operations-on-object.md).

## See Also

- [Operations on Object](https://docs.zeroc.com/ice/3.8/slice/operations-on-object.md)
- [Slice Loaders](https://docs.zeroc.com/ice/3.8/slice/user-defined-types/classes/slice-loaders.md)
- [Slicing Values and Exceptions](https://docs.zeroc.com/ice/3.8/slice/user-defined-types/classes/slicing-values-and-exceptions.md)
