System.Runtime.InteropServices.ComTypes.IPersistFile

Provides the managed definition of the IPersistFile interface, with functionality from IPersist.

See Also: IPersistFile Members

Syntax

[System.Runtime.InteropServices.Guid("0000010b-0000-0000-c000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IPersistFile

Remarks

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

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

Requirements

Namespace: System.Runtime.InteropServices.ComTypes
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0