IRepositoryObjectStorage::get_PropertyInterface

Meta Data Services Programming

Meta Data Services Programming

IRepositoryObjectStorage::get_PropertyInterface

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 Values

This method failed to complete successfully.

Remarks

IRepositoryDispatch does not perform any parameter validation, and it cannot be used to access custom methods or nonpersistent properties. It is intended for use by custom class implementers.

See Also

IRepositoryDispatch Interface

IRepositoryObjectStorage Interface