SPQuery.IncludeAttachmentVersion property

Gets or sets a Boolean value that specifies whether to include the unique identifier and version number, delimited by ;#, of attachments to each item.

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

Syntax

'Declaration
Public Property IncludeAttachmentVersion As Boolean
    Get
    Set
'Usage
Dim instance As SPQuery
Dim value As Boolean

value = instance.IncludeAttachmentVersion

instance.IncludeAttachmentVersion = value
public bool IncludeAttachmentVersion { get; set; }

Property value

Type: System.Boolean
true to include the unique identifier and version number of attachments; otherwise, false.

See also

Reference

SPQuery class

SPQuery members

Microsoft.SharePoint namespace