IActiveDesigner::SaveRuntimeState Method (Guid, Guid, IntPtr)

 

Saves the runtime state of the designer.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int SaveRuntimeState(
	[InAttribute] Guid% riidPersist,
	[InAttribute] Guid% riidObjStgMed,
	IntPtr pObjStgMed
)

Parameters

riidPersist
Type: System::Guid

[in] The IID of the persistence interface to use.

riidObjStgMed
Type: System::Guid

[in] The IID of the interface responsible for the storage.

pObjStgMed
Type: System::IntPtr

[in] Pointer to the storage managed by the interface riidObjStgMed.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From designer.idl:

HRESULT IActiveDesigner::SaveRuntimeState(
   [in] REFIID riidPersist, 
   [in] REFIID riidObjStgMed, 
   [in] void * pObjStgMed
);
Return to top
Show: