This method retrieves an IRepositoryDispatch interface pointer for accessing the persistent members of one of the object's supported Automation interfaces.
The IRepositoryDispatch interface can be used to get and set member values for the interface specified by the InterfaceId input parameter. The interface must be one that is exposed by this object.
HRESULT get_PropertyInterface(
VARIANT InterfaceId,
IRepositoryDispatch **ppInterface
);
Parameters
InterfaceId
[in]
The interface identifier of the interface whose properties are to be accessed.
*ppInterface
[out]
The IRepositoryDispatch interface pointer.
Return Value
S_OK
The method completed successfully.
Error
This method failed to complete successfully.
Remarks
IRepositoryDispatch does not perform any parameter validation, and cannot be used to access custom methods or non-persistent properties. It is intended for use by custom class implementers.