Condividi tramite


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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