ShortcutFileInfoOpen(FileMode, FileAccess, FileShare) Method

Opens the shortcut file in the specified mode with read, write, or read/write access and the specified sharing option.

Definition

Namespace: DevCase.Core.IO.FileSystem
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public FileStream Open(
	FileMode mode,
	FileAccess access,
	FileShare share
)

Parameters

mode  FileMode
A FileMode constant specifying the mode (for example, Open or Append) in which to open the shortcut file.
access  FileAccess
A FileAccess constant specifying whether to open the shortcut file with Read, Write, or ReadWrite file access.
share  FileShare
A FileShare constant specifying the type of access other FileStream objects have to this file.

Return Value

FileStream
The shortcut file opened in the specified mode, access, and sharing options.

See Also