Share via


IDebugDynamicFieldCOMPlus::GetTypeFromTypeDef

Retrieves a type given its token.

HRESULT GetTypeFromTypeDef(
   ULONG32       ulAppDomainID,
   GUID          guidModule,
   _mdToken      tokClass,
   IDebugField** ppType
);
int GetTypeFromTypeDef(
   uint            ulAppDomainID,
   Guid            guidModule,
   int             tokClass,
   out IDebugField ppType
);

Parameters

  • ulAppDomainID
    [in] Identifier of the application domain.

  • guidModule
    [in] Unique identifier of the module.

  • tokClass
    [in] Token that represents the type.

  • ppType
    [out] Returns an IDebugField object that contains the type.

Return Value

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

See Also

Reference

IDebugDynamicFieldCOMPlus