UCOMIPersistFile.Load(String, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens the specified file and initializes an object from the file contents.
public:
void Load(System::String ^ pszFileName, int dwMode);
public void Load (string pszFileName, int dwMode);
abstract member Load : string * int -> unit
Public Sub Load (pszFileName As String, dwMode As Integer)
Parameters
- pszFileName
- String
A zero-terminated string containing the absolute path of the file to open.
- dwMode
- Int32
A combination of values from the STGM
enumeration to indicate the access mode in which to open pszFileName
.
Remarks
The STGM
enumeration is not part of the .NET Framework, but is documented in the MSDN library.
For more information, please see the existing documentation for IPersistFile::Load
in the MSDN library.