Click or drag to resize

DirectoryExistsJunction Method (KernelTransaction, String, PathFormat)

[AlphaFS] Determines whether the given path refers to an existing directory junction on disk.

Return Value

Type: Boolean

Returns if junctionPath refers to an existing directory junction.

Returns if the directory junction does not exist or an error occurs when trying to determine if the specified file exists.

 

Remarks

The Exists method returns if any error occurs while trying to determine if the specified file exists.

This can occur in situations that raise exceptions such as passing a file name with invalid characters or too many characters,

a failing or missing disk, or if the caller does not have permission to read the file.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public static bool ExistsJunction(
	KernelTransaction transaction,
	string junctionPath,
	PathFormat pathFormat
)

Parameters

transaction
Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction.
junctionPath
Type: SystemString
The path to test.
pathFormat
Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Alphaleonis.Win32.Filesystem.Directory.ExistsJunction(Alphaleonis.Win32.Filesystem.KernelTransaction,System.String,Alphaleonis.Win32.Filesystem.PathFormat)"]

Exceptions
See Also