UCOMIPersistFile Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use System.Runtime.InteropServices.ComTypes.IPersistFile instead. http://go.microsoft.com/fwlink/?linkid=14202
Use IPersistFile instead.
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
- Attributes
Remarks
For more information, please see the existing documentation for IPersistFile
and IPersist
in the com subfolder of the MSDN library.
Methods
GetClassID(Guid) |
Retrieves the class identifier (CLSID) of an object. |
GetCurFile(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. |
IsDirty() |
Checks an object for changes since it was last saved to its current file. |
Load(String, Int32) |
Opens the specified file and initializes an object from the file contents. |
Save(String, Boolean) |
Saves a copy of the object into the specified file. |
SaveCompleted(String) |
Notifies the object that it can write to its file. |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기