Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
This method determines the run-time type of an object.
HRESULT ResolveRuntimeType(
IDebugObject* pObject,
IDebugField** ppResolved
);
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.