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.

[Visual Basic]
<Flags>
<Serializable>
Public Enum TypeLibTypeFlags
[C#]
[Flags]
[Serializable]
public enum TypeLibTypeFlags
[C++]
[Flags]
[Serializable]
__value public enum TypeLibTypeFlags
[JScript]
public
   Flags
 Serializable
enum TypeLibTypeFlags

Remarks

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.

Members

Member name Description Value
FAggregatable The class supports aggregation. 1024
FAppObject A type description that describes an Application object. 1
FCanCreate Instances of the type can be created by ITypeInfo::CreateInstance. 2
FControl The type is a control from which other types will be derived, and should not be displayed to users. 32
FDispatchable Indicates that the interface derives from IDispatch, either directly or indirectly. 4096
FDual The interface supplies both IDispatch and V-table binding. 64
FHidden The type should not be displayed to browsers. 16
FLicensed The type is licensed. 4
FNonExtensible The interface cannot add members at run time. 128
FOleAutomation The types used in the interface are fully compatible with Automation, including vtable binding support. 256
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
FReplaceable The object supports IConnectionPointWithDefault, and has default behaviors. 2048
FRestricted This flag is intended for system-level types or types that type browsers should not display. 512
FReverseBind Indicates base interfaces should be checked for name resolution before checking child interfaces. This is the reverse of the default behavior. 8192

Requirements

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

Show: