UCOMIPersistFile Interfaz

Definición

Precaución

Use System.Runtime.InteropServices.ComTypes.IPersistFile instead. http://go.microsoft.com/fwlink/?linkid=14202

Precaución

Esta API ya está en desuso.

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.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete]
[System.Runtime.InteropServices.Guid("0000010b-0000-0000-c000-000000000046")]
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
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete>]
[<System.Runtime.InteropServices.Guid("0000010b-0000-0000-c000-000000000046")>]
type UCOMIPersistFile = interface
Public Interface UCOMIPersistFile
Atributos

Comentarios

Para obtener más información, vea la documentación existente para IPersistFile y IPersist en la subcarpeta com de MSDN Library.

Métodos

GetClassID(Guid)

Recupera el identificador de clase (CLSID) de un objeto.

GetCurFile(String)

Recupera la ruta absoluta del archivo de trabajo actual del objeto o, si no existe un archivo de trabajo, la extensión del nombre de archivo predeterminado del objeto.

IsDirty()

Comprueba si un objeto se ha modificado desde la última vez que se guardó en el archivo actual.

Load(String, Int32)

Abre el archivo especificado e inicializa un objeto del contenido del archivo.

Save(String, Boolean)

Guarda una copia del objeto en el archivo especificado.

SaveCompleted(String)

Notifica al objeto que puede escribir en el archivo.

Se aplica a