IPersistFileLoad Method

Opens the specified file and initializes an object from the file contents.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[PreserveSigAttribute]
void Load(
	string fileName,
	uint mode
)

Parameters

fileName  String
The absolute path of the file to be opened.
mode  UInt32
The access mode to be used when opening the file.

Possible values are taken from the STGM enumeration.

The method can treat this value as a suggestion, adding more restrictive permissions if necessary.

If mode is 0, the implementation should open the file using whatever default permissions are used when a user opens the file.

See Also