Compartilhar via


DataLakeStoreFileSystemClient.TestFileOrFolderExistence Method

Definition

Checks if file or folder exists and also returns the type of the path

public bool TestFileOrFolderExistence (string path, string accountName, out Microsoft.Azure.DataLake.Store.DirectoryEntryType itemType);
member this.TestFileOrFolderExistence : string * string * DirectoryEntryType -> bool
Public Function TestFileOrFolderExistence (path As String, accountName As String, ByRef itemType As DirectoryEntryType) As Boolean

Parameters

path
String

Full path of file or directory

accountName
String

Account name

itemType
DirectoryEntryType

Type of the directory entry

Returns

True of the path exists else false

Applies to