FUNCFLAGS Enumeration
Identifies the constants that define the properties of a function.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: mscorlib (in mscorlib.dll)
| Member name | Description | |
|---|---|---|
| FUNCFLAG_FBINDABLE | The function that supports data binding. | |
| FUNCFLAG_FDEFAULTBIND | The function that best represents the object. Only one function in a type can have this attribute. | |
| FUNCFLAG_FDEFAULTCOLLELEM | Permits an optimization in which the compiler looks for a member named "xyz" on the type of "abc". If such a member is found, and is flagged as an accessor function for an element of the default collection, a call is generated to that member function. Permitted on members in dispinterfaces and interfaces; not permitted on modules. | |
| FUNCFLAG_FDISPLAYBIND | The function that is displayed to the user as bindable. FUNCFLAG_FBINDABLE must also be set. | |
| FUNCFLAG_FHIDDEN | The function should not be displayed to the user, although it exists and is bindable. | |
| FUNCFLAG_FIMMEDIATEBIND | Mapped as individual bindable properties. | |
| FUNCFLAG_FNONBROWSABLE | The property appears in an object browser, but not in a properties browser. | |
| FUNCFLAG_FREPLACEABLE | Tags the interface as having default behaviors. | |
| FUNCFLAG_FREQUESTEDIT | When set, any call to a method that sets the property results first in a call to IPropertyNotifySink::OnRequestEdit. The implementation of OnRequestEdit determines if the call is allowed to set the property. | |
| FUNCFLAG_FRESTRICTED | The function should not be accessible from macro languages. This flag is intended for system-level functions or functions that type browsers should not display. | |
| FUNCFLAG_FSOURCE | The function returns an object that is a source of events. | |
| FUNCFLAG_FUIDEFAULT | The type information member is the default member for display in the user interface. | |
| FUNCFLAG_FUSESGETLASTERROR | The function supports GetLastError. If an error occurs during the function, the caller can call GetLastError to retrieve the error code. |
For additional information about FUNCFLAGS, see the MSDN Library.
The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1