TypeLibTypeFlags Enum


Describes the original settings of the TYPEFLAGS in the COM type library from which the type was imported.

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

public enum class TypeLibTypeFlags
public enum TypeLibTypeFlags
type TypeLibTypeFlags = 
Public Enum TypeLibTypeFlags


FAggregatable 1024

The class supports aggregation.

FAppObject 1

A type description that describes an Application object.

FCanCreate 2

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

FControl 32

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

FDispatchable 4096

Indicates that the interface derives from IDispatch, either directly or indirectly.

FDual 64

The interface supplies both IDispatch and V-table binding.

FHidden 16

The type should not be displayed to browsers.

FLicensed 4

The type is licensed.

FNonExtensible 128

The interface cannot add members at run time.

FOleAutomation 256

The types used in the interface are fully compatible with Automation, including vtable binding support.

FPreDeclId 8

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.

FReplaceable 2048

The object supports IConnectionPointWithDefault, and has default behaviors.

FRestricted 512

This flag is intended for system-level types or types that type browsers should not display.

FReverseBind 8192

Indicates base interfaces should be checked for name resolution before checking child interfaces. This is the reverse of the default behavior.


TypeLibTypeFlags is used along with the TypeLibTypeAttribute. The flags are retained for reference only. They are not used by the common language runtime.

For more information, see TYPEFLAGS in the MSDN library.

Applies to