Export (0) Print
Expand All
Expand Minimize
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] 
[ComVisibleAttribute(true)] 
[FlagsAttribute] 
public enum TypeLibFuncFlags
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute FlagsAttribute() */ 
public enum TypeLibFuncFlags
SerializableAttribute 
ComVisibleAttribute(true) 
FlagsAttribute 
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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.