Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

[Visual Basic]
<Flags>
<Serializable>
<ComVisible(False)>
Public Enum FUNCFLAGS
[C#]
[Flags]
[Serializable]
[ComVisible(false)]
public enum FUNCFLAGS
[C++]
[Flags]
[Serializable]
[ComVisible(false)]
__value public enum FUNCFLAGS
[JScript]
public
   Flags
 Serializable
 ComVisible(false)
enum FUNCFLAGS

Remarks

For additional information about FUNCFLAGS, see the MSDN Library.

Members

Member name Description Value
FUNCFLAG_FBINDABLE The function that supports data binding. 4
FUNCFLAG_FDEFAULTBIND The function that best represents the object. Only one function in a type information can have this attribute. 32
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. 256
FUNCFLAG_FDISPLAYBIND The function that is displayed to the user as bindable. FUNCFLAG_FBINDABLE must also be set. 16
FUNCFLAG_FHIDDEN The function should not be displayed to the user, although it exists and is bindable. 64
FUNCFLAG_FIMMEDIATEBIND Mapped as individual bindable properties. 4096
FUNCFLAG_FNONBROWSABLE The property appears in an object browser, but not in a properties browser. 1024
FUNCFLAG_FREPLACEABLE Tags the interface as having default behaviors. 2048
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. 8
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. 1
FUNCFLAG_FSOURCE The function returns an object that is a source of events. 2
FUNCFLAG_FUIDEFAULT The type information member is the default member for display in the user interface. 512
FUNCFLAG_FUSESGETLASTERROR The function supports GetLastError. If an error occurs during the function, the caller can call GetLastError to retrieve the error code. 128

Requirements

Namespace: System.Runtime.InteropServices

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

System.Runtime.InteropServices Namespace

Show:
© 2017 Microsoft