Uređivanje

Dijeli putem


TypeLibTypeFlags Enum

Definition

Describes the original settings of the TYPEFLAGS in the COM type library from which the type was imported.

This enumeration supports a bitwise combination of its member values.

public enum class TypeLibTypeFlags
[System.Flags]
public enum TypeLibTypeFlags
[System.Flags]
[System.Serializable]
public enum TypeLibTypeFlags
[System.Flags]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum TypeLibTypeFlags
[<System.Flags>]
type TypeLibTypeFlags = 
[<System.Flags>]
[<System.Serializable>]
type TypeLibTypeFlags = 
[<System.Flags>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type TypeLibTypeFlags = 
Public Enum TypeLibTypeFlags
Inheritance
TypeLibTypeFlags
Attributes

Fields

Name Value Description
FAppObject 1

A type description that describes an Application object.

FCanCreate 2

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

FLicensed 4

The type is licensed.

FPreDeclId 8

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 16

The type should not be displayed to browsers.

FControl 32

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

FDual 64

The interface supplies both IDispatch and V-table binding.

FNonExtensible 128

The interface cannot add members at run time.

FOleAutomation 256

The types used in the interface are fully compatible with Automation, including vtable binding support.

FRestricted 512

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

FAggregatable 1024

The class supports aggregation.

FReplaceable 2048

The object supports IConnectionPointWithDefault, and has default behaviors.

FDispatchable 4096

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

FReverseBind 8192

Indicates base interfaces should be checked for name resolution before checking child interfaces. This is the reverse of the default behavior.

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.

Applies to