FUNCFLAGS 枚举

定义

警告

此 API 现已过时。

请改用 FUNCFLAGSUse FUNCFLAGS instead.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class FUNCFLAGS
[System.Flags]
[System.Obsolete]
[System.Runtime.InteropServices.ComVisible(false)]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.FUNCFLAGS instead. https://go.microsoft.com/fwlink/?linkid=14202", false)]
[System.Serializable]
public enum FUNCFLAGS
type FUNCFLAGS = 
Public Enum FUNCFLAGS
继承
FUNCFLAGS
属性

字段

FUNCFLAG_FBINDABLE 4

支持数据绑定的函数。The function that supports data binding.

FUNCFLAG_FDEFAULTBIND 32

最佳表示此对象的函数。The function that best represents the object. 类型信息中只有一个函数可以具有此特性。Only one function in a type information can have this attribute.

FUNCFLAG_FDEFAULTCOLLELEM 256

允许进行一种优化,使编译器查找“abc”类型上名为“xyz”的成员。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 16

作为可绑定函数显示给用户的函数。The function that is displayed to the user as bindable. 还必须设置 FUNCFLAG_FBINDABLEFUNCFLAG_FBINDABLE must also be set.

FUNCFLAG_FHIDDEN 64

不应将此函数显示给用户,尽管它存在并且为可绑定函数。The function should not be displayed to the user, although it exists and is bindable.

FUNCFLAG_FIMMEDIATEBIND 4096

作为单独的可绑定属性映射。Mapped as individual bindable properties.

FUNCFLAG_FNONBROWSABLE 1024

该属性出现在对象浏览器而非属性浏览器中。The property appears in an object browser, but not in a properties browser.

FUNCFLAG_FREPLACEABLE 2048

将该接口标记为具有默认行为。Tags the interface as having default behaviors.

FUNCFLAG_FREQUESTEDIT 8

设置后,任何对设置此属性的方法的调用都首先导致对 IPropertyNotifySink::OnRequestEdit 的调用。When set, any call to a method that sets the property results first in a call to IPropertyNotifySink::OnRequestEdit. OnRequestEdit 的实现确定是否允许该调用设置属性。The implementation of OnRequestEdit determines if the call is allowed to set the property.

FUNCFLAG_FRESTRICTED 1

此函数不应该是可从宏语言访问的。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 2

该函数返回一个对象,此对象为事件的源。The function returns an object that is a source of events.

FUNCFLAG_FUIDEFAULT 512

类型信息成员是在用户界面中显示的默认成员。The type information member is the default member for display in the user interface.

FUNCFLAG_FUSESGETLASTERROR 128

该函数支持 GetLastErrorThe function supports GetLastError. 如果在函数过程中发生错误,则调用方可以调用 GetLastError 来检索错误代码。If an error occurs during the function, the caller can call GetLastError to retrieve the error code.

注解

有关 FUNCFLAGS的其他信息,请参阅 MSDN Library。For additional information about FUNCFLAGS, see the MSDN Library.

适用于