ReparsePointAware.HasReparsePoints(SafeFileHandle, String) 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 the file system object represented by the SafeFileHandle has a canonical path that matches the given expectedPath.
public static bool HasReparsePoints (Microsoft.Win32.SafeHandles.SafeFileHandle safeHandle, string expectedPath);
static member HasReparsePoints : Microsoft.Win32.SafeHandles.SafeFileHandle * string -> bool
Public Shared Function HasReparsePoints (safeHandle As SafeFileHandle, expectedPath As String) As Boolean
Parameters
- safeHandle
- SafeFileHandle
Handle of the file/directory to check.
- expectedPath
- String
The expected path to verify the handle against.
Returns
Whether the handle's path matches the path that is passed in.