DataLakeStoreFileSystemClient.TestFileOrFolderExistence Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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