IActiveDesigner::SaveRuntimeState Method (Guid, Guid, IntPtr)
Visual Studio 2015
Saves the runtime state of the designer.
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::Int32If 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 );
Show: