UCOMIPersistFile Interface

Definição

Atenção

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

Utilize IPersistFile em substituição.

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

Observações

Para mais informações, consulte a documentação existente para IPersistFile e IPersist na subpasta com da biblioteca MSDN.

Métodos

Name Description
GetClassID(Guid)
Obsoleto.

Recupera o identificador de classe (CLSID) de um objeto.

GetCurFile(String)
Obsoleto.

Recupera o caminho absoluto para o ficheiro de trabalho atual do objeto ou, se não houver ficheiro de trabalho atual, o prompt de nome de ficheiro por defeito do objeto.

IsDirty()
Obsoleto.

Verifica um objeto para alterações desde a última vez que foi guardado no seu ficheiro atual.

Load(String, Int32)
Obsoleto.

Abre o ficheiro especificado e inicializa um objeto a partir do conteúdo do ficheiro.

Save(String, Boolean)
Obsoleto.

Guarda uma cópia do objeto no ficheiro especificado.

SaveCompleted(String)
Obsoleto.

Notifica o objeto que pode escrever no seu ficheiro.

Aplica-se a