TypeLibTypeFlags Enumeration
TOC
Collapse the table of content
Expand the table of content

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 nameDescription
FAggregatable

The class supports aggregation.

FAppObject

A type description that describes an Application object.

FCanCreate

Instances of the type can be created by ITypeInfo::CreateInstance.

FControl

The type is a control from which other types will be derived, and should not be displayed to users.

FDispatchable

Indicates that the interface derives from IDispatch, either directly or indirectly.

FDual

The interface supplies both IDispatch and V-table binding.

FHidden

The type should not be displayed to browsers.

FLicensed

The type is licensed.

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.

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.

FReplaceable

The object supports IConnectionPointWithDefault, and has default behaviors.

FRestricted

This flag is intended for system-level types or types that type browsers should not display.

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
Available since 1.1
Return to top
Show:
© 2016 Microsoft