SPQuery.IncludeAttachmentUrls Property

Gets or sets a Boolean value that specifies whether to include the encoded full URLs, 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

public bool IncludeAttachmentUrls { get; set; }

Property Value

Type: System.Boolean
true to include the encoded full URLs of attachments; otherwise, false.