# ObjVerVersionType

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

The kind of an object version reference: a specific version, or a marker such as "latest".

Send `OBJ_VER_VERSION_TYPE_SPECIFIC` unless a method documents that it accepts a marker. Several
methods, for example `GetProperties` and `GetObjectFiles`, answer "Not found." to
`OBJ_VER_VERSION_TYPE_LATEST`.

- **Full name:** `MFiles.ObjVerVersionType`
- **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-OBJ_VER_VERSION_TYPE_UNINITIALIZED"></a>`OBJ_VER_VERSION_TYPE_UNINITIALIZED` | 0 | Not set. Not accepted where a version is needed. |
| <a id="v-OBJ_VER_VERSION_TYPE_LATEST"></a>`OBJ_VER_VERSION_TYPE_LATEST` | 1 | The latest version. Used in lookup values (with `internal_version` -1) and accepted only by methods that say so. |
| <a id="v-OBJ_VER_VERSION_TYPE_ANY"></a>`OBJ_VER_VERSION_TYPE_ANY` | 2 | Any version. Not accepted by `GetProperties`. |
| <a id="v-OBJ_VER_VERSION_TYPE_ALL"></a>`OBJ_VER_VERSION_TYPE_ALL` | 3 | All versions of the object. |
| <a id="v-OBJ_VER_VERSION_TYPE_SPECIFIC"></a>`OBJ_VER_VERSION_TYPE_SPECIFIC` | 4 | A specific version, given in `internal_version`. |
| <a id="v-OBJ_VER_VERSION_TYPE_VALUE_LIST_ITEM"></a>`OBJ_VER_VERSION_TYPE_VALUE_LIST_ITEM` | 6 | A value list item, which has no versions. |
| <a id="v-OBJ_VER_VERSION_TYPE_OBJECT_LEVEL_REFERENCE"></a>`OBJ_VER_VERSION_TYPE_OBJECT_LEVEL_REFERENCE` | 7 | The object as a whole rather than one of its versions. |

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

## Used in fields

- [`ObjVerVersion.type`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjVerVersion/index.md#f-type): What `internal_version` means. `OBJ_VER_VERSION_TYPE_SPECIFIC` for a version number.
