Windows apps
Collapse the table of content
Expand the table of content

TYPEFLAGS Enumeration


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Defines the properties and attributes of a type description.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

public enum TYPEFLAGS

Member nameDescription

The class supports aggregation.


A type description that describes an Application object.


Instances of the type can be created by ITypeInfo::CreateInstance.


The type is a control from which other types will be derived and should not be displayed to users.


Indicates that the interface derives from IDispatch, either directly or indirectly. This flag is computed; there is no Object Description Language for the flag.


The interface supplies both IDispatch and VTBL binding.


The type should not be displayed to browsers.


The type is licensed.


The interface cannot add members at run time.


The types used in the interface are fully compatible with Automation, including VTBL binding support. Setting dual on an interface sets both this flag and the TYPEFLAG_FDUAL. This flag is not allowed on dispinterfaces.


The type is predefined. The client application should automatically create a single instance of the object that has this attribute. The name of the variable that points to the object is the same as the class name of the object.


Indicates that the interface will be using a proxy/stub dynamic link library. This flag specifies that the type library proxy should not be unregistered when the type library is unregistered.


The object supports IConnectionPointWithDefault, and has default behaviors.


Should not be accessible from macro languages. This flag is intended for system-level types or types that type browsers should not display.


Indicates base interfaces should be checked for name resolution before checking children, which is the reverse of the default behavior.

For additional information about TYPEFLAGS, see the MSDN Library.

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
© 2018 Microsoft