This topic has not yet been rated - Rate this topic

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)
[SerializableAttribute]
[FlagsAttribute]
[ComVisibleAttribute(true)]
public enum TypeLibTypeFlags
Member name Description
FAppObject A type description that describes an Application object.
FCanCreate Instances of the type can be created by ITypeInfo::CreateInstance.
FLicensed The type is licensed.
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.
FHidden The type should not be displayed to browsers.
FControl The type is a control from which other types will be derived, and should not be displayed to users.
FDual The interface supplies both IDispatch and V-table binding.
FNonExtensible The interface cannot add members at run time.
FOleAutomation The types used in the interface are fully compatible with Automation, including vtable binding support.
FRestricted This flag is intended for system-level types or types that type browsers should not display.
FAggregatable The class supports aggregation.
FReplaceable The object supports IConnectionPointWithDefault, and has default behaviors.
FDispatchable Indicates that the interface derives from IDispatch, either directly or indirectly.
FReverseBind 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.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ