次の方法で共有


IActiveDesigner.QueryPersistenceInterface(Guid) Method

Definition

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  
);  

Applies to