# FileValueType

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.FileValueType/

Enumeration for different conditions regarding file information.

- **Full name:** `MFiles.FileValueType`
- **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-FILE_VALUE_TYPE_HAS_FILES"></a>`FILE_VALUE_TYPE_HAS_FILES` | 0 | Does the document contain one or more files. |
| <a id="v-FILE_VALUE_TYPE_FILE_NAME"></a>`FILE_VALUE_TYPE_FILE_NAME` | 1 | File name (title + extension), can include DOS wildcards (such as *.txt). |
| <a id="v-FILE_VALUE_TYPE_FILE_SIZE"></a>`FILE_VALUE_TYPE_FILE_SIZE` | 2 | File size in bytes. |
| <a id="v-FILE_VALUE_TYPE_FILE_ID"></a>`FILE_VALUE_TYPE_FILE_ID` | 3 | File ID. |
| <a id="v-FILE_VALUE_TYPE_CREATION_TIME"></a>`FILE_VALUE_TYPE_CREATION_TIME` | 4 | The creation time of the file. |
| <a id="v-FILE_VALUE_TYPE_CHANGE_TIME"></a>`FILE_VALUE_TYPE_CHANGE_TIME` | 5 | The change time of the file. |
| <a id="v-FILE_VALUE_TYPE_LINKED_TO_EXTERNAL_LOCATION"></a>`FILE_VALUE_TYPE_LINKED_TO_EXTERNAL_LOCATION` | 6 | Is the file is linked to an external location (Yes/No). |
| <a id="v-FILE_VALUE_TYPE_LINKED_EXTERNAL_LOCATION_ID"></a>`FILE_VALUE_TYPE_LINKED_EXTERNAL_LOCATION_ID` | 7 | The ID of the external location to which the file is linked. unset if not linked. |
| <a id="v-FILE_VALUE_TYPE_HAS_DUPLICATES"></a>`FILE_VALUE_TYPE_HAS_DUPLICATES` | 8 | Does the document have one or more duplicates. |

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

## Used in fields

- [`ExpressionUnion.FileValueData.type`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExpressionUnion/index.md#t-FileValueData-type): The type of file information (e.g. file name).
