共用方式為


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 介面。

適用於