Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UCOMIPersistFile Interface

 
Note: This API is now obsolete. Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

<ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.IPersistFile instead. http://go.microsoft.com/fwlink/?linkid=14202",
	False)>
<GuidAttribute("0000010b-0000-0000-C000-000000000046")>
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>
Public Interface UCOMIPersistFile

NameDescription
System_CAPS_pubmethodGetClassID(Guid)

Retrieves the class identifier (CLSID) of an object.

System_CAPS_pubmethodGetCurFile(String)

Retrieves either the absolute path to current working file of the object, or if there is no current working file, the default filename prompt of the object.

System_CAPS_pubmethodIsDirty()

Checks an object for changes since it was last saved to its current file.

System_CAPS_pubmethodLoad(String, Int32)

Opens the specified file and initializes an object from the file contents.

System_CAPS_pubmethodSave(String, Boolean)

Saves a copy of the object into the specified file.

System_CAPS_pubmethodSaveCompleted(String)

Notifies the object that it can write to its file.

For more information, please see the existing documentation for IPersistFile and IPersist in the com subfolder of the MSDN library.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft