CustomQueryInterfaceMode 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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
- 繼承
- 屬性
欄位
Allow | 1 | IUnknown::QueryInterface 方法呼叫可以使用 ICustomQueryInterface 介面。 當您使用這個值時,GetComInterfaceForObject(Object, Type, CustomQueryInterfaceMode) 方法多載會如同 GetComInterfaceForObject(Object, Type) 多載般運作。 |
Ignore | 0 | IUnknown::QueryInterface 方法呼叫應忽略 ICustomQueryInterface 介面。 |