IActiveDesigner::QueryPersistenceInterface Method (Guid)

 

Tests whether or not the designer supports a given persistence interface such as IPersistStream.

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

int QueryPersistenceInterface(
	[InAttribute] Guid% riidPersist
)

Parameters

riidPersist
Type: System::Guid

[in] The IID of the persistence interface.

Return Value

Type: System::Int32

If 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
);
Return to top
Show: