# VersionComment

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) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

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

Version comment details.

Despite it's original name, this struct is reserved for version comment details.
It should not be used for other purposes, as we want to maintain the possibility
of adding new version comment specific fields to it in the future.

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

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-obj_ver"></a>`obj_ver` | [`ObjVer`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjVer/index.md) | 1 | Object version. |
| <a id="f-property_values"></a>`property_values` | repeated [`PropertyValue`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.PropertyValue/index.md) | 2 | Properties. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCObjectOperations.GetVersionCommentHistory](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetVersionCommentHistory/index.md): Gets the version comments of an object up to a given version, oldest first.

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

## Used in fields

- [`LatestVersionComment.comment`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.LatestVersionComment/index.md#f-comment): Latest comment. The typed value is unset if no latest comment is available.
- [`VersionCommentArray.value`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.VersionCommentArray/index.md#f-value): Object version and its property values.
- [`GetVersionCommentHistoryResponse.comments`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetVersionCommentHistory/index.md#response): Results in ascending order.
