Exists Property

The Exists property of the SPFile class gets a Boolean value that indicates whether the file exists.

Property Value

true if the file exists; otherwise, false.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security