Share via


IDebugBinder::ResolveRuntimeType

This method determines the run-time type of an object.

HRESULT ResolveRuntimeType( 
   IDebugObject* pObject,
   IDebugField** ppResolved
);
int ResolveRuntimeType(
   IDebugObject     pObject, 
   out IDebugField  ppResolved
);

Parameters

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

The run-time type of an object is not always known at compile time. For example, using polymorphism, an argument can be passed to a function as its base class, such as a button class. The actual argument might be a derived class, such as a radio button class.

See Also

Reference

IDebugBinder

IDebugObject

IDebugField