UCOMIPersistFile Interface

Definitie

Let op

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

Gebruik in plaats daarvan 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
Kenmerken

Opmerkingen

Zie de bestaande documentatie voor IPersistFile en IPersist in de submap van de MSDN-bibliotheek voor meer informatie.

Methoden

Name Description
GetClassID(Guid)
Verouderd.

Haalt de klasse-id (CLSID) van een object op.

GetCurFile(String)
Verouderd.

Hiermee wordt het absolute pad naar het huidige werkbestand van het object opgehaald of als er geen huidig werkbestand is, wordt de standaardprompt van het object weergegeven.

IsDirty()
Verouderd.

Hiermee wordt een object gecontroleerd op wijzigingen omdat het voor het laatst is opgeslagen in het huidige bestand.

Load(String, Int32)
Verouderd.

Hiermee opent u het opgegeven bestand en initialiseert u een object van de bestandsinhoud.

Save(String, Boolean)
Verouderd.

Slaat een kopie van het object op in het opgegeven bestand.

SaveCompleted(String)
Verouderd.

Hiermee wordt het object aangegeven dat het naar het bestand kan schrijven.

Van toepassing op