Expand Minimize

IInspectable interface

Provides functionality required for all Windows Runtime classes.

When to implement

The IInspectable interface enables projecting Win32 and COM features into JavaScript and other languages, such as C# and Visual Basic. Implement the IInspectable interface when you want your class to be available in other programming environments.

When to use

The IInspectable interface is the base interface for all Windows Runtime classes. All Windows Runtime classes must implement the IInspectable interface.

Members

The IInspectable interface inherits from the IUnknown interface. IInspectable also has these types of members:

Methods

The IInspectable interface has these methods.

MethodDescription
GetIids

Gets the interfaces that are implemented by the current Windows Runtime class.

GetRuntimeClassName

Gets the fully qualified name of the current Windows Runtime object.

GetTrustLevel

Gets the trust level of the current Windows Runtime object.

 

Remarks

IInspectable methods have no effect on COM apartments and are safe to call from user interface threads.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Inspectable.h

IDL

Inspectable.idl

IID

IID_IInspectable is defined as AF86E2E0-B12D-4c6a-9C5A-D7AA65101E90

See also

TrustLevel

 

 

Community Additions

ADD
Show:
© 2014 Microsoft