System.Runtime.InteropServices.TypeLibVarFlags Enumeration

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

Syntax

[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
public enum TypeLibVarFlags

Remarks

TypeLibVarFlags is used in conjunction with the System.Runtime.InteropServices.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 NameDescription
FBindable

The variable supports data binding.

FDefaultBind

The variable is the single property that best represents the object. Only one variable in a type info can have this value.

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.

FDisplayBind

The variable is displayed as bindable. TypeLibVarFlags.FBindable must also be set.

FHidden

The variable should not be displayed in a browser, though it exists and is bindable.

FImmediateBind

The variable is mapped as individual bindable properties.

FNonBrowsable

The variable appears in an object browser, but not in a properties browser.

FReadOnly

Assignment to the variable should not be allowed.

FReplaceable

Tags the interface as having default behaviors.

FRequestEdit

Indicates that the property supports the COM OnRequestEdit notification.

FRestricted

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

FSource

The variable returns an object that is a source of events.

FUiDefault

The default display in the user interface.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0