MixIn Structure
Ensures that a runtime class derives from Windows Runtime interfaces, if any, and then classic COM interfaces.
Syntax
template<
typename Derived,
typename MixInType,
bool hasImplements = __is_base_of(Details::ImplementsBase, MixInType)
>
struct MixIn;
Parameters
Derived
A type derived from the Implements structure.
MixInType
A base type.
hasImplements
true
if MixInType is derived from the current implementation the base type; false
otherwise.
Remarks
If a class is derived from both Windows Runtime and class COM interfaces, the class declaration list must first list any Windows Runtime interfaces and then any classic COM interfaces. MixIn ensures that the interfaces are specified in the correct order.
Inheritance Hierarchy
MixIn
Requirements
Header: implements.h
Namespace: Microsoft::WRL
See also
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for