Compartilhar via


CustomQueryInterfaceMode Enumeração

Definição

Cuidado

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
Herança
CustomQueryInterfaceMode
Atributos

Campos

Allow 1

As chamadas do método IUnknown::QueryInterface podem usar a interface ICustomQueryInterface. Quando você usa esse valor, a sobrecarga do método GetComInterfaceForObject(Object, Type, CustomQueryInterfaceMode) funciona como a sobrecarga GetComInterfaceForObject(Object, Type).

Ignore 0

As chamadas do método IUnknown::QueryInterface devem ignorar a interface ICustomQueryInterface.

Aplica-se a