Share via


SPFileVersion.CheckInComment property

Gets the latest check-in comment for the file before it became a version.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property CheckInComment As String
    Get
'Usage
Dim instance As SPFileVersion
Dim value As String

value = instance.CheckInComment
public string CheckInComment { get; }

Property value

Type: System.String
A string that contains the comment.

Remarks

When a file becomes a version, its properties are maintained with the version. This includes the check-in comment and other information for the file.

Although a check-in comment is not required in the user interface, the CheckIn method requires a comment as its parameter.

See also

Reference

SPFileVersion class

SPFileVersion members

Microsoft.SharePoint namespace