UCOMIPersistFile Interfaz
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Precaución
Use System.Runtime.InteropServices.ComTypes.IPersistFile instead. http://go.microsoft.com/fwlink/?linkid=14202
Utilice IPersistFile en su lugar.
public interface class UCOMIPersistFile
[System.Runtime.InteropServices.Guid("0000010b-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIPersistFile
[System.Runtime.InteropServices.Guid("0000010b-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IPersistFile instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public interface UCOMIPersistFile
[<System.Runtime.InteropServices.Guid("0000010b-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type UCOMIPersistFile = interface
[<System.Runtime.InteropServices.Guid("0000010b-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IPersistFile instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type UCOMIPersistFile = interface
Public Interface UCOMIPersistFile
- Atributos
Comentarios
Para obtener más información, consulte la documentación existente para IPersistFile y IPersist en la subcarpeta com de MSDN Library.
Métodos
| Nombre | Description |
|---|---|
| GetClassID(Guid) |
Obsoletos.
Recupera el identificador de clase (CLSID) de un objeto . |
| GetCurFile(String) |
Obsoletos.
Recupera la ruta de acceso absoluta al archivo de trabajo actual del objeto o, si no hay ningún archivo de trabajo actual, el símbolo del nombre de archivo predeterminado del objeto. |
| IsDirty() |
Obsoletos.
Comprueba si hay cambios en un objeto desde que se guardó por última vez en su archivo actual. |
| Load(String, Int32) |
Obsoletos.
Abre el archivo especificado e inicializa un objeto a partir del contenido del archivo. |
| Save(String, Boolean) |
Obsoletos.
Guarda una copia del objeto en el archivo especificado. |
| SaveCompleted(String) |
Obsoletos.
Notifica al objeto que puede escribir en su archivo. |