This documentation is archived and is not being maintained.

TYPEFLAGS Enumeration

Defines the properties and attributes of a type description.

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

[Visual Basic]
public enum TYPEFLAGS
__value public enum TYPEFLAGS


For additional information about TYPEFLAGS, see the MSDN Library.


Member name Description Value
TYPEFLAG_FAGGREGATABLE The class supports aggregation. 1024
TYPEFLAG_FAPPOBJECT A type description that describes an Application object. 1
TYPEFLAG_FCANCREATE Instances of the type can be created by ITypeInfo::CreateInstance. 2
TYPEFLAG_FCONTROL The type is a control from which other types will be derived, and should not be displayed to users. 32
TYPEFLAG_FDISPATCHABLE Indicates that the interface derives from IDispatch, either directly or indirectly. This flag is computed, there is no Object Description Language for the flag. 4096
TYPEFLAG_FDUAL The interface supplies both IDispatch and VTBL binding. 64
TYPEFLAG_FHIDDEN The type should not be displayed to browsers. 16
TYPEFLAG_FLICENSED The type is licensed. 4
TYPEFLAG_FNONEXTENSIBLE The interface cannot add members at run time. 128
TYPEFLAG_FOLEAUTOMATION The types used in the interface are fully compatible with Automation, including VTBL binding support. Setting dual on an interface sets this flag in addition to TYPEFLAG_FDUAL. Not allowed on dispinterfaces. 256
TYPEFLAG_FPREDECLID 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. 8
TYPEFLAG_FPROXY 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. 16384
TYPEFLAG_FREPLACEABLE The object supports IConnectionPointWithDefault, and has default behaviors. 2048
TYPEFLAG_FRESTRICTED Should not be accessible from macro languages. This flag is intended for system-level types or types that type browsers should not display. 512
TYPEFLAG_FREVERSEBIND Indicates base interfaces should be checked for name resolution before checking children, the reverse of the default behavior. 8192


Namespace: System.Runtime.InteropServices

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

System.Runtime.InteropServices Namespace