PathGetFinalPathNameByHandle Method (SafeFileHandle, FinalPathFormats) |
[AlphaFS] Retrieves the final path for the specified file, formatted as
FinalPathFormats.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static string GetFinalPathNameByHandle(
SafeFileHandle handle,
FinalPathFormats finalPath
)
Public Shared Function GetFinalPathNameByHandle (
handle As SafeFileHandle,
finalPath As FinalPathFormats
) As String
public:
static String^ GetFinalPathNameByHandle(
SafeFileHandle^ handle,
FinalPathFormats finalPath
)
static member GetFinalPathNameByHandle :
handle : SafeFileHandle *
finalPath : FinalPathFormats -> string
Parameters
- handle
- Type: Microsoft.Win32.SafeHandlesSafeFileHandle
Then handle to a SafeFileHandle instance. - finalPath
- Type: Alphaleonis.Win32.FilesystemFinalPathFormats
The final path, formatted as FinalPathFormats
Return Value
Type:
StringThe final path as a string.
Remarks
A final path is the path that is returned when a path is fully resolved. For example, for a symbolic link named "C:\tmp\mydir" that
points to "D:\yourdir", the final path would be "D:\yourdir".
See Also