Share via


SPCopyDestination.Comment Property

If the copy destination requires check out, gets or sets a check-in comment for the new version.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property Comment As String
    Get
    Set
'Usage
Dim instance As SPCopyDestination
Dim value As String

value = instance.Comment

instance.Comment = value
public string Comment { get; set; }

Property Value

Type: System.String
A string that represents the text of the comment.

See Also

Reference

SPCopyDestination Class

SPCopyDestination Members

Microsoft.SharePoint Namespace