Click or drag to resize

FileSystemEntryOpenReparsePointByPath Method

Gets a reparse point entry using its path

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static IntPtr OpenReparsePointByPath(
	string path,
	FileMode mode = FileMode.Open,
	FileAccess access = FileAccess.Read,
	FileShare share = FileShare.ReadWrite|FileShare.Delete,
	bool throwOnError = true
)

Parameters

path
Type: SystemString
The path to open.
mode (Optional)
Type: System.IOFileMode
A constant that determines how to open or create the entry.
access (Optional)
Type: System.IOFileAccess
A constant that determines how the file can be accessed by the FileStream object.
share (Optional)
Type: System.IOFileShare
A constant that determines how the file will be shared by processes.
throwOnError (Optional)
Type: SystemBoolean
true to throw errors; otherwise false.

Return Value

Type: IntPtr
A handle to the opened entry or IntPtr.Zero.
See Also