Export (0) Print
Expand All

SPFile.Exists property

Gets a Boolean value that indicates whether the file exists.

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

public bool Exists { get; }

Property value

Type: System.Boolean
true if the file exists; otherwise, false.
Show:
© 2014 Microsoft