TypeLibVarFlags TypeLibVarFlags TypeLibVarFlags TypeLibVarFlags Enum

定义

描述从中导入该变量的 COM 类型库中 VARFLAGS 的原始设置。Describes the original settings of the VARFLAGS in the COM type library from which the variable was imported.

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

public enum class TypeLibVarFlags
[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum TypeLibVarFlags
type TypeLibVarFlags = 
Public Enum TypeLibVarFlags
继承
TypeLibVarFlagsTypeLibVarFlagsTypeLibVarFlagsTypeLibVarFlags
属性

字段

FBindable FBindable FBindable FBindable 4

该变量支持数据绑定。The variable supports data binding.

FDefaultBind FDefaultBind FDefaultBind FDefaultBind 32

该变量是最佳地表示此对象的唯一属性。The variable is the single property that best represents the object. 类型信息中仅有一个变量可具有此值。Only one variable in a type info can have this value.

FDefaultCollelem FDefaultCollelem FDefaultCollelem FDefaultCollelem 256

允许进行这样的优化,在该优化中,编译器查找“abc”类型上的名为“xyz”的成员。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.

FDisplayBind FDisplayBind FDisplayBind FDisplayBind 16

该变量显示为可绑定变量。The variable is displayed as bindable. 还必须设置 FBindableFBindable must also be set.

FHidden FHidden FHidden FHidden 64

该变量不应显示在浏览器中,尽管它存在并且是可绑定的。The variable should not be displayed in a browser, though it exists and is bindable.

FImmediateBind FImmediateBind FImmediateBind FImmediateBind 4096

该变量作为单独的可绑定属性映射。The variable is mapped as individual bindable properties.

FNonBrowsable FNonBrowsable FNonBrowsable FNonBrowsable 1024

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

FReadOnly FReadOnly FReadOnly FReadOnly 1

不应允许给该变量赋值。Assignment to the variable should not be allowed.

FReplaceable FReplaceable FReplaceable FReplaceable 2048

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

FRequestEdit FRequestEdit FRequestEdit FRequestEdit 8

指示该属性支持 COM OnRequestEdit 通知。Indicates that the property supports the COM OnRequestEdit notification.

FRestricted FRestricted FRestricted FRestricted 128

此标志适用于系统级函数或类型浏览器不应显示的函数。This flag is intended for system-level functions or functions that type browsers should not display.

FSource FSource FSource FSource 2

该变量返回一个对象,该对象为事件的源。The variable returns an object that is a source of events.

FUiDefault FUiDefault FUiDefault FUiDefault 512

用户界面中的默认显示。The default display in the user interface.

注解

TypeLibVarFlags 结合使用TypeLibVarAttributeTypeLibVarFlags is used in conjunction with the TypeLibVarAttribute. 标志将保留仅供参考。The flags are retained for reference only. 公共语言运行时不使用它们。They are not used by the common language runtime.

有关详细信息,请参阅VARFLAGSMSDN 库中。For more information, see VARFLAGS in the MSDN library.

适用于