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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για