共用方式為


SPQuery.IncludeAttachmentUrls property

取得或設定布林值,指定是否要包含已編碼的完整 Url,以;#,每個項目附件的分隔。

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

Syntax

'宣告
Public Property IncludeAttachmentUrls As Boolean
    Get
    Set
'用途
Dim instance As SPQuery
Dim value As Boolean

value = instance.IncludeAttachmentUrls

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

Property value

Type: System.Boolean
若要包含的附件 ; 編碼完整的 Url 的true否則, false。

請參閱

參照

SPQuery class

SPQuery members

Microsoft.SharePoint namespace