IActiveDesigner::QueryPersistenceInterface Method (Guid)
Visual Studio 2015
Tests whether or not the designer supports a given persistence interface such as IPersistStream.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- riidPersist
-
Type:
System::Guid
[in] The IID of the persistence interface.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Success indicates that the designer supports the persistence interface.
From designer.idl:
HRESULT IActiveDesigner::QueryPersistenceInterface(
[in] REFIID riidPersist
);
Show: