FileSystemEntryGetSymbolicLink Method (IntPtr, Boolean) |
Gets the symbolic link of a file or directory using its handle.
The handle must have been open using FILE_FLAG_OPEN_REPARSE_POINT flag.
Namespace:
callback.ShellBoost.Core.Utilities
Assembly:
callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax public static FileSystemSymbolicLink GetSymbolicLink(
IntPtr handle,
bool throwOnError = true
)
Parameters
- handle
- Type: SystemIntPtr
The file or directory reparse point handle. - throwOnError (Optional)
- Type: SystemBoolean
true to throw errors; otherwise false.
Return Value
Type:
FileSystemSymbolicLink
The symbolic link or null.
See Also