# ContentType

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.ContentType/

Content types (sub-datatypes).

- **Full name:** `MFiles.ContentType`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-CONTENT_TYPE_GENERIC"></a>`CONTENT_TYPE_GENERIC` | 0 | Generic content (no specific subtype). |
| <a id="v-CONTENT_TYPE_EMAIL_ADDRESS"></a>`CONTENT_TYPE_EMAIL_ADDRESS` | 1 | E-mail address. |
| <a id="v-CONTENT_TYPE_URL"></a>`CONTENT_TYPE_URL` | 2 | URL. |
| <a id="v-CONTENT_TYPE_RTF"></a>`CONTENT_TYPE_RTF` | 3 | Rich Text Format. // Note : Not used. |
| <a id="v-CONTENT_TYPE_HTML"></a>`CONTENT_TYPE_HTML` | 4 | HTML. // Note : Not used. |

<a id="used-in-fields"></a>

## Used in fields

- [`PropertyDef.content_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.PropertyDef/index.md#f-content_type): Content type (sub-datatype).
