File.Exists property

Gets a value that specifies whether the file exists.

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

Syntax

'Declaration
Public ReadOnly Property Exists As Boolean
    Get
'Usage
Dim instance As File
Dim value As Boolean

value = instance.Exists
public bool Exists { get; }

Property value

Type: System.Boolean
Returns Booleantrue if the file exists; otherwise, returns false.

See also

Reference

File class

File members

Microsoft.SharePoint.Client namespace