IActiveDesigner.QueryPersistenceInterface(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tests whether or not the designer supports a given persistence interface such as IPersistStream.
public:
int QueryPersistenceInterface(Guid % riidPersist);
public int QueryPersistenceInterface (ref Guid riidPersist);
abstract member QueryPersistenceInterface : Guid -> int
Public Function QueryPersistenceInterface (ByRef riidPersist As Guid) As Integer
Parameters
- riidPersist
- Guid
[in] The IID of the persistence interface.
Returns
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.
Remarks
COM Signature
From designer.idl:
HRESULT IActiveDesigner::QueryPersistenceInterface(
[in] REFIID riidPersist
);