Редагувати

Поділитися через


TypeLibFuncFlags Enum

Definition

Describes the original settings of the FUNCFLAGS in the COM type library from where this method was imported.

This enumeration supports a bitwise combination of its member values.

public enum class TypeLibFuncFlags
[System.Flags]
public enum TypeLibFuncFlags
[System.Flags]
[System.Serializable]
public enum TypeLibFuncFlags
[System.Flags]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum TypeLibFuncFlags
[<System.Flags>]
type TypeLibFuncFlags = 
[<System.Flags>]
[<System.Serializable>]
type TypeLibFuncFlags = 
[<System.Flags>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type TypeLibFuncFlags = 
Public Enum TypeLibFuncFlags
Inheritance
TypeLibFuncFlags
Attributes

Fields

Name Value Description
FRestricted 1

This flag is intended for system-level functions or functions that type browsers should not display.

FSource 2

The function returns an object that is a source of events.

FBindable 4

The function that supports data binding.

FRequestEdit 8

When set, any call to a method that sets the property results first in a call to IPropertyNotifySink::OnRequestEdit.

FDisplayBind 16

The function that is displayed to the user as bindable. FBindable must also be set.

FDefaultBind 32

The function that best represents the object. Only one function in a type information can have this attribute.

FHidden 64

The function should not be displayed to the user, although it exists and is bindable.

FUsesGetLastError 128

The function supports GetLastError.

FDefaultCollelem 256

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 512

The type information member is the default member for display in the user interface.

FNonBrowsable 1024

The property appears in an object browser, but not in a properties browser.

FReplaceable 2048

Tags the interface as having default behaviors.

FImmediateBind 4096

The function is mapped as individual bindable properties.

Remarks

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.

Applies to