ReparsePointAware.HasReparsePoints(SafeFileHandle, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
檢查 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
要驗證句柄的預期路徑。
傳回
句柄的路徑是否符合傳入的路徑。