IPersistFileLoad Method
Opens the specified file and initializes an object from the file contents.
Namespace: DevCase.Win32.InterfacesAssembly: 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
)
<PreserveSigAttribute>
Sub Load (
fileName As String,
mode As UInteger
)
Dim instance As IPersistFile
Dim fileName As String
Dim mode As UInteger
instance.Load(fileName, mode)
[PreserveSigAttribute]
void Load(
[InAttribute] String^ fileName,
unsigned int mode
)
[<PreserveSigAttribute>]
abstract Load :
fileName : string *
mode : uint32 -> unit
No code example is currently available or this language may not be supported.
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.