This documentation is archived and is not being maintained.
TypeLibVarFlags Enumeration
Visual Studio 2010
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.InteropServicesAssembly: mscorlib (in mscorlib.dll)
| Member name | Description | |
|---|---|---|
| FReadOnly | Assignment to the variable should not be allowed. | |
| FSource | The variable returns an object that is a source of events. | |
| FBindable | The variable supports data binding. | |
| FRequestEdit | Indicates that the property supports the COM OnRequestEdit notification. | |
| FDisplayBind | The variable is displayed as bindable. FBindable must also be set. | |
| FDefaultBind | The variable is the single property that best represents the object. Only one variable in a type info can have this value. | |
| FHidden | The variable should not be displayed in a browser, though it exists and is bindable. | |
| FRestricted | This flag is intended for system-level functions or functions that type browsers should not display. | |
| 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. | |
| FUiDefault | The default display in the user interface. | |
| FNonBrowsable | The variable appears in an object browser, but not in a properties browser. | |
| FReplaceable | Tags the interface as having default behaviors. | |
| FImmediateBind | The variable is mapped as individual bindable properties. |
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: