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.

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)

[SerializableAttribute] 
[FlagsAttribute] 
[ComVisibleAttribute(true)] 
public enum TypeLibVarFlags
/** @attribute SerializableAttribute() */ 
/** @attribute FlagsAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public enum TypeLibVarFlags
SerializableAttribute 
FlagsAttribute 
ComVisibleAttribute(true) 
public enum TypeLibVarFlags

 Member nameDescription
FBindableThe variable supports data binding. 
FDefaultBindThe variable is the single property that best represents the object. Only one variable in a type info can have this value. 
FDefaultCollelemPermits 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. 
FDisplayBindThe variable is displayed as bindable. FBindable must also be set. 
FHiddenThe variable should not be displayed in a browser, though it exists and is bindable. 
FImmediateBindThe variable is mapped as individual bindable properties. 
FNonBrowsableThe variable appears in an object browser, but not in a properties browser. 
FReadOnlyAssignment to the variable should not be allowed. 
FReplaceableTags the interface as having default behaviors. 
FRequestEditIndicates that the property supports the COM OnRequestEdit notification. 
FRestrictedThis flag is intended for system-level functions or functions that type browsers should not display. 
FSourceThe variable returns an object that is a source of events. 
FUiDefaultThe default display in the user interface. 

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft