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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for