IPersistFile.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, see the existing documentation for IPersistFile::Load
in the MSDN library.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om