Partilhar via


SPChangeQuery.File Property

Gets or sets a Boolean value that specifies whether changes to SPFile objects are included in the query.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property File As Boolean
    Get
    Set
'Usage
Dim instance As SPChangeQuery
Dim value As Boolean

value = instance.File

instance.File = value
[ClientCallableAttribute]
public bool File { get; set; }

Property Value

Type: System.Boolean
true to include changes to files; otherwise, false. The default is false.

Remarks

This object type applies to files that exist outside a list and that are not a property of an item.

See Also

Reference

SPChangeQuery Class

SPChangeQuery Members

Microsoft.SharePoint Namespace

SPChangeFile