LIBFLAGS LIBFLAGS LIBFLAGS LIBFLAGS Enum

定义

定义应用于类型库的标志。Defines flags that apply to type libraries.

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

public enum class LIBFLAGS
[System.Flags]
[System.Serializable]
public enum LIBFLAGS
type LIBFLAGS = 
Public Enum LIBFLAGS
继承
属性

字段

LIBFLAG_FCONTROL LIBFLAG_FCONTROL LIBFLAG_FCONTROL LIBFLAG_FCONTROL 2

类型库描述控件,并且不应在供非可视对象使用的类型浏览器中显示。The type library describes controls and should not be displayed in type browsers intended for nonvisual objects.

LIBFLAG_FHASDISKIMAGE LIBFLAG_FHASDISKIMAGE LIBFLAG_FHASDISKIMAGE LIBFLAG_FHASDISKIMAGE 8

类型库以一种持久形式存在于磁盘上。The type library exists in a persisted form on disk.

LIBFLAG_FHIDDEN LIBFLAG_FHIDDEN LIBFLAG_FHIDDEN LIBFLAG_FHIDDEN 4

不应将类型库显示给用户,虽然它的使用并未受到限制。The type library should not be displayed to users, although its use is not restricted. 类型库应该由控件使用。The type library should be used by controls. 宿主应创建用扩展属性包装控件的新类型库。Hosts should create a new type library that wraps the control with extended properties.

LIBFLAG_FRESTRICTED LIBFLAG_FRESTRICTED LIBFLAG_FRESTRICTED LIBFLAG_FRESTRICTED 1

类型库受到限制且不应显示给用户。The type library is restricted, and should not be displayed to users.

注解

有关其他信息LIBFLAGS枚举,请参阅 MSDN 库。For additional information about the LIBFLAGS enumeration, see the MSDN Library.

在本机代码中的 COM 方法将返回的 HRESULT 时,公共语言运行时将引发异常。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 有关更多信息,请参见 How to: Map HRESULTs and ExceptionsFor more information, see How to: Map HRESULTs and Exceptions.

适用于