SPFile.CheckInComment property
Gets the comment that is used when a document is checked into a document library.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property CheckInComment As String
Get
'Usage
Dim instance As SPFile
Dim value As String
value = instance.CheckInComment
public string CheckInComment { get; }
Property value
Type: System.String
A string that contains the comment, or an empty string if there is no check-in comment.
Remarks
Although a check-in comment is not required in the user interface, the CheckIn method requires a comment as its parameter.