Share via


IDebugProperty2::GetDerivedMostProperty

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Gets the derived-most property of a property.

Syntax

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.

See also