CustomQueryInterfaceMode 枚举
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
CustomQueryInterfaceMode and support for ICustomQueryInterface may be unavailable in future releases.
public enum class CustomQueryInterfaceMode
C#
[System.Obsolete("CustomQueryInterfaceMode and support for ICustomQueryInterface may be unavailable in future releases.")]
public enum CustomQueryInterfaceMode
C#
public enum CustomQueryInterfaceMode
C#
[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 接口。 |
产品 | 版本 (已过时) |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 (Core 1.0, Core 1.1) |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.1, 2.0, 2.1 (1.2, 1.3, 1.4, 1.5, 1.6) |
UWP | (10.0) |