UCOMIPersistFile 介面

定義

警告

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

請改用 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
屬性

備註

如需詳細資訊,請參閱 MSDN 連結庫 com 子資料夾中 和 IPersist 的現有檔IPersistFile

方法

GetClassID(Guid)
已淘汰.

擷取物件的類別識別項 (Class Identifier,CLSID)。

GetCurFile(String)
已淘汰.

擷取物件目前工作檔的絕對路徑,或者沒有目前工作檔的話,則擷取物件的預設檔案名稱提示。

IsDirty()
已淘汰.

檢查物件自從儲存到它目前檔案以來的變更。

Load(String, Int32)
已淘汰.

開啟指定的檔案,並從檔案連接初始化物件。

Save(String, Boolean)
已淘汰.

儲存物件的複本到指定檔案中。

SaveCompleted(String)
已淘汰.

告知物件,它可以寫入其檔案。

適用於