IPersistFile::Load Method (String^, Int32)
.NET Framework (current version)
Opens the specified file and initializes an object from the file contents.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- pszFileName
-
Type:
System::String^
A zero-terminated string containing the absolute path of the file to open.
- dwMode
-
Type:
System::Int32
A combination of values from the STGM enumeration to indicate the access mode in which to open pszFileName.
The STGM enumeration is not part of the .NET Framework, but is documented in the MSDN library.
For more information, see the existing documentation for IPersistFile::Load in the MSDN library.
Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: