This documentation is archived and is not being maintained.

TypeLibTypeFlags Enumeration

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.

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

public enum TypeLibTypeFlags

Member nameDescription
Supported by the .NET Compact FrameworkFAppObjectA type description that describes an Application object.
Supported by the .NET Compact FrameworkFCanCreateInstances of the type can be created by ITypeInfo::CreateInstance.
Supported by the .NET Compact FrameworkFLicensedThe type is licensed.
Supported by the .NET Compact FrameworkFPreDeclIdThe 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.
Supported by the .NET Compact FrameworkFHiddenThe type should not be displayed to browsers.
Supported by the .NET Compact FrameworkFControlThe type is a control from which other types will be derived, and should not be displayed to users.
Supported by the .NET Compact FrameworkFDualThe interface supplies both IDispatch and V-table binding.
Supported by the .NET Compact FrameworkFNonExtensibleThe interface cannot add members at run time.
Supported by the .NET Compact FrameworkFOleAutomationThe types used in the interface are fully compatible with Automation, including vtable binding support.
Supported by the .NET Compact FrameworkFRestrictedThis flag is intended for system-level types or types that type browsers should not display.
Supported by the .NET Compact FrameworkFAggregatableThe class supports aggregation.
Supported by the .NET Compact FrameworkFReplaceableThe object supports IConnectionPointWithDefault, and has default behaviors.
Supported by the .NET Compact FrameworkFDispatchableIndicates that the interface derives from IDispatch, either directly or indirectly.
Supported by the .NET Compact FrameworkFReverseBindIndicates 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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

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

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 3.5, 2.0