Edit

Share via


IDebugBinder::ResolveRuntimeType

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

Syntax

int ResolveRuntimeType(
   IDebugObject     pObject,
   out IDebugField  ppResolved
);

Parameters

pObject
[in] The IDebugObject to be resolved.

ppResolved
[out] Returns the type of the object as an IDebugField.

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