Share via


IDebugProperty2::GetParent

Note

This article applies to Visual Studio 2015. 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 parent property of a property.

Syntax

HRESULT GetParent (   
   IDebugProperty2** ppParent  
);  
int GetParent (   
   out IDebugProperty2 ppParent  
);  

Parameters

ppParent
[out] Returns an IDebugProperty2 object that represents the parent of the property.

Return Value

If successful, returns S_OK; otherwise returns error code. Returns S_GETPARENT_NO_PARENT if there is no parent.

See Also

IDebugProperty2