Compartir a través de


CustomQueryInterfaceMode Enumeración

Definición

Precaución

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
Herencia
CustomQueryInterfaceMode
Atributos

Campos

Allow 1

Las llamadas de método IUnknown::QueryInterface pueden usar la interfaz ICustomQueryInterface. Cuando usa este valor, la sobrecarga del método GetComInterfaceForObject(Object, Type, CustomQueryInterfaceMode) funciona como la sobrecarga de GetComInterfaceForObject(Object, Type).

Ignore 0

Las llamadas de método IUnknown::QueryInterface deberían ignorar la interfaz ICustomQueryInterface.

Se aplica a