CustomQueryInterfaceMode 枚举

定义

注意

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
继承
CustomQueryInterfaceMode
属性

字段

Allow 1

IUnknown::QueryInterface 方法调用可以使用 ICustomQueryInterface 接口。 使用此值时,GetComInterfaceForObject(Object, Type, CustomQueryInterfaceMode) 方法重载的功能与 GetComInterfaceForObject(Object, Type) 重载的功能类似。

Ignore 0

IUnknown::QueryInterface 方法调用应忽略 ICustomQueryInterface 接口。

适用于