UCOMIPersistFile.Load(String, Int32) Método
Definição
Abre o arquivo especificado e inicializa um objeto do conteúdo do arquivo.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)
Parâmetros
- pszFileName
- String
Uma cadeia de caracteres terminada em zero que contém o caminho absoluto do arquivo a ser aberto.A zero-terminated string containing the absolute path of the file to open.
- dwMode
- Int32
Uma combinação de valores da enumeração STGM para indicar o modo de acesso para abrir pszFileName.A combination of values from the STGM enumeration to indicate the access mode in which to open pszFileName.
Comentários
A STGM enumeração não faz parte do .NET Framework, mas está documentada na biblioteca MSDN.The STGM enumeration is not part of the .NET Framework, but is documented in the MSDN library.
Para obter mais informações, consulte a documentação existente para IPersistFile::Load na biblioteca MSDN.For more information, please see the existing documentation for IPersistFile::Load in the MSDN library.