Export (0) Print
Expand All
Expand Minimize

TypeLibVarFlags Enumeration

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

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Remarks

TypeLibVarFlags is used in conjunction with the TypeLibVarAttribute. The flags are retained for reference only. They are not used by the common language runtime.

For more information, see VARFLAGS in the MSDN library.

Members

Member name Description Value
FBindable The variable supports data binding. 4
FDefaultBind The variable is the single property that best represents the object. Only one variable in a type info can have this value. 32
FDefaultCollelem Permits an optimization in which the compiler looks for a member named "xyz" on the type "abc". If such a member is found and is flagged as an accessor function for an element of the default collection, then a call is generated to that member function. 256
FDisplayBind The variable is displayed as bindable. FBindable must also be set. 16
FHidden The variable should not be displayed in a browser, though it exists and is bindable. 64
FImmediateBind The variable is mapped as individual bindable properties. 4096
FNonBrowsable The variable appears in an object browser, but not in a properties browser. 1024
FReadOnly Assignment to the variable should not be allowed. 1
FReplaceable Tags the interface as having default behaviors. 2048
FRequestEdit Indicates that the property supports the COM OnRequestEdit notification. 8
FRestricted This flag is intended for system-level functions or functions that type browsers should not display. 128
FSource The variable returns an object that is a source of events. 2
FUiDefault The default display in the user interface. 512

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:
© 2015 Microsoft