UCOMIPersistFile Rozhraní

Definice

Upozornění

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

Místo toho použijte IPersistFile.

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
Atributy

Poznámky

Další informace naleznete v existující dokumentaci pro IPersistFile a IPersist v podsložce com knihovny MSDN.

Metody

GetClassID(Guid)
Zastaralé.

Načte identifikátor třídy (CLSID) objektu.

GetCurFile(String)
Zastaralé.

Načte buď absolutní cestu k aktuálnímu pracovnímu souboru objektu, nebo pokud neexistuje žádný aktuální pracovní soubor, výchozí výzva k názvu souboru objektu.

IsDirty()
Zastaralé.

Zkontroluje změny objektu od jeho posledního uložení do aktuálního souboru.

Load(String, Int32)
Zastaralé.

Otevře zadaný soubor a inicializuje objekt z obsahu souboru.

Save(String, Boolean)
Zastaralé.

Uloží kopii objektu do zadaného souboru.

SaveCompleted(String)
Zastaralé.

Upozorní objekt, že může zapisovat do svého souboru.

Platí pro