This documentation is archived and is not being maintained.

TYPEFLAGS Enumeration

Note: This API is now obsolete.

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

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

[ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.TYPEFLAGS instead.", 
public enum TYPEFLAGS

Member nameDescription
TYPEFLAG_FAPPOBJECTA type description that describes an Application object.
TYPEFLAG_FCANCREATEInstances of the type can be created by ITypeInfo::CreateInstance.
TYPEFLAG_FLICENSEDThe type is licensed.
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_FHIDDENThe type should not be displayed to browsers.
TYPEFLAG_FCONTROLThe type is a control from which other types will be derived, and should not be displayed to users.
TYPEFLAG_FDUALThe interface supplies both IDispatch and VTBL binding.
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 this flag in addition to TYPEFLAG_FDUAL. Not allowed on dispinterfaces.
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_FAGGREGATABLEThe class supports aggregation.
TYPEFLAG_FREPLACEABLEThe object supports IConnectionPointWithDefault, and has default behaviors.
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_FREVERSEBINDIndicates base interfaces should be checked for name resolution before checking children, the reverse of the default behavior.
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.

For additional information about TYPEFLAGS, see the MSDN Library.

.NET Framework

Supported in: 1.1, 1.0
Obsolete (compiler warning) in 4
Obsolete (compiler warning) in 3.5
Obsolete (compiler warning) in 3.5 SP1
Obsolete (compiler warning) in 3.0
Obsolete (compiler warning) in 3.0 SP1
Obsolete (compiler warning) in 3.0 SP2
Obsolete (compiler warning) in 2.0
Obsolete (compiler warning) in 2.0 SP1
Obsolete (compiler warning) in 2.0 SP2

.NET Framework Client Profile

Obsolete (compiler warning) in 4
Obsolete (compiler warning) in 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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