CustomQueryInterfaceMode 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
CustomQueryInterfaceMode and support for ICustomQueryInterface may be unavailable in future releases.
public enum class CustomQueryInterfaceMode
[System.Obsolete("CustomQueryInterfaceMode and support for ICustomQueryInterface may be unavailable in future releases.")]
public enum CustomQueryInterfaceMode
public enum CustomQueryInterfaceMode
[System.Serializable]
public enum CustomQueryInterfaceMode
[<System.Obsolete("CustomQueryInterfaceMode and support for ICustomQueryInterface may be unavailable in future releases.")>]
type CustomQueryInterfaceMode =
type CustomQueryInterfaceMode =
[<System.Serializable>]
type CustomQueryInterfaceMode =
Public Enum CustomQueryInterfaceMode
- 继承
- 属性
字段
Allow | 1 | IUnknown::QueryInterface 方法调用可以使用 ICustomQueryInterface 接口。 使用此值时,GetComInterfaceForObject(Object, Type, CustomQueryInterfaceMode) 方法重载的功能与 GetComInterfaceForObject(Object, Type) 重载的功能类似。 |
Ignore | 0 | IUnknown::QueryInterface 方法调用应忽略 ICustomQueryInterface 接口。 |