Partager via


CustomQueryInterfaceMode Énumération

Définition

Attention

CustomQueryInterfaceMode and support for ICustomQueryInterface may be unavailable in future releases.

Indique si les appels IUnknown::QueryInterface de la méthode GetComInterfaceForObject(Object, Type, CustomQueryInterfaceMode) peuvent utiliser l’interface ICustomQueryInterface.

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
Héritage
CustomQueryInterfaceMode
Attributs

Champs

Allow 1

Les appels de méthode IUnknown::QueryInterface peuvent utiliser l’interface ICustomQueryInterface. Lorsque vous utilisez cette valeur, la surcharge de la méthode GetComInterfaceForObject(Object, Type, CustomQueryInterfaceMode) fonctionne comme la surcharge de GetComInterfaceForObject(Object, Type).

Ignore 0

Les appels de méthode IUnknown::QueryInterface doivent ignorer l’interface ICustomQueryInterface.

S’applique à