---
schema_version: "1"
id: c3971327ba35f743a6aeacfe0cef1bdab00e3d512b14a37ea8477456f667781a
title: ContentVersionComment
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_contentversioncomment.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contentversioncomment.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 473431a4c5f0a63c3d67bb40467f18847f536a356c8c150af241c3998890c3fe
description: Represents a comment on a version of a file. This object is available in API version 42.0 and later.
---
# ContentVersionComment

Represents a comment on a version of a file. This object is available in API version 42.0 and later.

## Supported Calls

delete(), describeSObjects(), query(), retrieve()

## Special Access Rules

Only users with Modify All Data permission have access to this object.

## Fields

| Field | Details |
| --- | --- |
| ContentDocumentId | 
Type

reference

Properties

Filter, Group, Sort

Description

ID of the file.

This is a relationship field.

Relationship Name

ContentDocument

Relationship Type

Lookup

Refers To

ContentDocument



 |
| ContentVersionId | 

Type

reference

Properties

Filter, Group, Sort

Description

ID of the version of the file.

This is a relationship field.

Relationship Name

ContentVersion

Relationship Type

Lookup

Refers To

ContentVersion



 |
| UserComment | 

Type

textarea

Properties

Filter, Nillable, Sort

Description

ID of the user who commented on the file.



 |