TypeLibFuncFlags Enumeration
TOC
Collapse the table of content
Expand the table of content

TypeLibFuncFlags Enumeration

 

Describes the original settings of the FUNCFLAGS in the COM type library from where this method 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)>]
type TypeLibFuncFlags

Member nameDescription
FBindable

The function that supports data binding.

FDefaultBind

The function that best represents the object. Only one function in a type information can have this attribute.

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 function that is displayed to the user as bindable. FBindable must also be set.

FHidden

The function should not be displayed to the user, although it exists and is bindable.

FImmediateBind

The function is mapped as individual bindable properties.

FNonBrowsable

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

FReplaceable

Tags the interface as having default behaviors.

FRequestEdit

When set, any call to a method that sets the property results first in a call to IPropertyNotifySink::OnRequestEdit.

FRestricted

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

FSource

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

FUiDefault

The type information member is the default member for display in the user interface.

FUsesGetLastError

The function supports GetLastError.

TypeLibFuncFlags is used with the TypeLibFuncAttribute. The flags are retained for reference only. They are not used by the common language runtime.

For more information about FUNCFLAGS, see the MSDN library.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft