IDebugProperty2::GetDerivedMostProperty
Gets the derived-most property of a property.
HRESULT GetDerivedMostProperty (
IDebugProperty2** ppDerivedMost
);
int GetDerivedMostProperty (
out IDebugProperty2 ppDerivedMost
);
Parameters
- ppDerivedMost
[out] Returns an IDebugProperty2 object that represents the derived-most property.
Return Value
If successful, returns S_OK; otherwise returns error code. Returns S_GETDERIVEDMOST_NO_DERIVED_MOST if there is no derived-most property to retrieve.
Remarks
For example, if this property describes an object that implements ClassRoot but which is actually an instantiation of ClassDerived that is derived from ClassRoot, then this method returns an IDebugProperty2 object describing the ClassDerived object.