This topic has not yet been rated - Rate this topic

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)]
public enum TypeLibFuncFlags
Member name Description
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.
FBindable The function that supports data binding.
FRequestEdit When set, any call to a method that sets the property results first in a call to IPropertyNotifySink::OnRequestEdit.
FDisplayBind The function that is displayed to the user as bindable. FBindable must also be set.
FDefaultBind The function that best represents the object. Only one function in a type information can have this attribute.
FHidden The function should not be displayed to the user, although it exists and is bindable.
FUsesGetLastError The function supports GetLastError.
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 type information member is the default member for display in the user interface.
FNonBrowsable The property appears in an object browser, but not in a properties browser.
FReplaceable Tags the interface as having default behaviors.
FImmediateBind The function is mapped as individual bindable properties.

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, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ