Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

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)

public enum TypeLibFuncFlags

Member nameDescription
FBindableThe function that supports data binding.
FDefaultBindThe function that best represents the object. Only one function in a type information can have this attribute.
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 function that is displayed to the user as bindable. FBindable must also be set.
FHiddenThe function should not be displayed to the user, although it exists and is bindable.
FImmediateBindThe function is mapped as individual bindable properties.
FNonBrowsableThe property appears in an object browser, but not in a properties browser.
FReplaceableTags the interface as having default behaviors.
FRequestEditWhen set, any call to a method that sets the property results first in a call to IPropertyNotifySink::OnRequestEdit.
FRestrictedThis flag is intended for system-level functions or functions that type browsers should not display.
FSourceThe function returns an object that is a source of events.
FUiDefaultThe type information member is the default member for display in the user interface.
FUsesGetLastErrorThe 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft