共用方式為


SPQuery.IncludeAttachmentVersion property

取得或設定布林值,指定是否要包含的唯一的識別項和版本號碼,以;#,每個項目附件的分隔。

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

Syntax

'宣告
Public Property IncludeAttachmentVersion As Boolean
    Get
    Set
'用途
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包含唯一識別項和版本號碼的附件。否則, false。

請參閱

參照

SPQuery class

SPQuery members

Microsoft.SharePoint namespace