Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TYPEFLAGS Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

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)

[SerializableAttribute] 
[FlagsAttribute] 
public enum TYPEFLAGS : short
/** @attribute SerializableAttribute() */ 
/** @attribute FlagsAttribute() */ 
public enum TYPEFLAGS
SerializableAttribute 
FlagsAttribute 
public enum TYPEFLAGS
 Member nameDescription
TYPEFLAG_FAGGREGATABLEThe class supports aggregation. 
TYPEFLAG_FAPPOBJECTA type description that describes an Application object. 
TYPEFLAG_FCANCREATEInstances of the type can be created by ITypeInfo::CreateInstance
TYPEFLAG_FCONTROLThe type is a control from which other types will be derived and should not be displayed to users. 
TYPEFLAG_FDISPATCHABLEIndicates that the interface derives from IDispatch, either directly or indirectly. This flag is computed; there is no Object Description Language for the flag. 
TYPEFLAG_FDUALThe interface supplies both IDispatch and VTBL binding. 
TYPEFLAG_FHIDDENThe type should not be displayed to browsers. 
TYPEFLAG_FLICENSEDThe type is licensed. 
TYPEFLAG_FNONEXTENSIBLEThe interface cannot add members at run time. 
TYPEFLAG_FOLEAUTOMATIONThe 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. 
TYPEFLAG_FPREDECLIDThe 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. 
TYPEFLAG_FPROXYIndicates 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. 
TYPEFLAG_FREPLACEABLEThe object supports IConnectionPointWithDefault, and has default behaviors. 
TYPEFLAG_FRESTRICTEDShould not be accessible from macro languages. This flag is intended for system-level types or types that type browsers should not display. 
TYPEFLAG_FREVERSEBINDIndicates 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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.