ReparsePointAware.HasReparsePoints(SafeFileHandle, String) 方法

定義

檢查 SafeFileHandle 所代表的文件系統物件是否具有符合指定 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

參數

safeHandle
SafeFileHandle

要檢查的檔案/目錄句柄。

expectedPath
String

要驗證句柄的預期路徑。

傳回

句柄的路徑是否符合傳入的路徑。

適用於