Επεξεργασία

Κοινή χρήση μέσω


TYPEFLAGS Enum

Definition

Caution

Use System.Runtime.InteropServices.ComTypes.TYPEFLAGS instead. http://go.microsoft.com/fwlink/?linkid=14202

Use TYPEFLAGS instead.

This enumeration supports a bitwise combination of its member values.

public enum class TYPEFLAGS
[System.Flags]
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public enum TYPEFLAGS
[System.Flags]
[System.Serializable]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.TYPEFLAGS instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public enum TYPEFLAGS
[<System.Flags>]
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type TYPEFLAGS = 
[<System.Flags>]
[<System.Serializable>]
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.TYPEFLAGS instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type TYPEFLAGS = 
Public Enum TYPEFLAGS
Inheritance
TYPEFLAGS
Attributes

Fields

Name Value Description
TYPEFLAG_FAPPOBJECT 1

A type description that describes an Application object.

TYPEFLAG_FCANCREATE 2

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

TYPEFLAG_FLICENSED 4

The type is licensed.

TYPEFLAG_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.

TYPEFLAG_FHIDDEN 16

The type should not be displayed to browsers.

TYPEFLAG_FCONTROL 32

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

TYPEFLAG_FDUAL 64

The interface supplies both IDispatch and VTBL binding.

TYPEFLAG_FNONEXTENSIBLE 128

The interface cannot add members at run time.

TYPEFLAG_FOLEAUTOMATION 256

The types used in the interface are fully compatible with Automation, including VTBL binding support. Setting dual on an interface sets this flag in addition to TYPEFLAG_FDUAL. Not allowed on dispinterfaces.

TYPEFLAG_FRESTRICTED 512

Should not be accessible from macro languages. This flag is intended for system-level types or types that type browsers should not display.

TYPEFLAG_FAGGREGATABLE 1024

The class supports aggregation.

TYPEFLAG_FREPLACEABLE 2048

The object supports IConnectionPointWithDefault, and has default behaviors.

TYPEFLAG_FDISPATCHABLE 4096

Indicates that the interface derives from IDispatch, either directly or indirectly. This flag is computed, there is no Object Description Language for the flag.

TYPEFLAG_FREVERSEBIND 8192

Indicates base interfaces should be checked for name resolution before checking children, the reverse of the default behavior.

TYPEFLAG_FPROXY 16384

Indicates that the interface will be using a proxy/stub dynamic link library. This flag specifies that the type library proxy should not be unregistered when the type library is unregistered.

Remarks

For additional information about TYPEFLAGS, see the MSDN Library.

Applies to