ReparsePointAware.HasReparsePoints(SafeFileHandle, String) Method

Definition

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.

Applies to