IPersist (Interfaces)
Last changed: 199.46.249.141

.
Summary
The IPersist interface defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. A call to this method can allow the object to specify which object handler to use in the client process, as it is used in the OLE default implementation of marshaling.

C# Definition:

    [ComImport, Guid("0000010c-0000-0000-c000-000000000046"),
    InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface IPersist
    {
        [PreserveSig]
        void GetClassID(out Guid pClassID);
    }

VB Definition:

#Region "IPersist Interface Definition"

  <ComImport(), Guid("0000010c-0000-0000-c000-000000000046"), _
  InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _
   Public Interface IPersist

    <PreserveSig()> Sub GetClassID(ByRef pClassID As Guid)

  End Interface

#End Region

User-Defined Field Types:

None.

Notes:

None.

Documentation
IPersist on MSDN