共用方式為


DEBUG_REFERENCE_INFO

描述的參考。

typedef struct tagDEBUG_REFERENCE_INFO { 
   DEBUGREF_INFO_FLAGS dwFields;
   BSTR                bstrName;
   BSTR                bstrType;
   BSTR                bstrValue;
   DBG_ATTRIB_FLAGS    dwAttrib;
   REFERENCE_TYPE.     dwRefType;
   IDebugReference2*   m_pReference;
} DEBUG_REFERENCE_INFO;
public struct DEBUG_REFERENCE_INFO { 
   public uint             dwFields;
   public string           bstrName;
   public string           bstrType;
   public string           bstrValue;
   public ulong            dwAttrib;
   public uint.            dwRefType;
   public IDebugReference2 m_pReference;
};

Members

  • dwFields
    從的旗標組合DEBUGREF_INFO_FLAGS指定哪些欄位已填寫的列舉型別。

  • bstrName
    使用者定義名稱的IDebugReference2物件。

  • bstrType
    參考型別當做格式化的字串。

  • bstrValue
    參考值,做為格式化的字串

  • dwAttrib
    從的旗標組合DBG_ATTRIB_FLAGS ,可指定偵錯] 屬性的屬性的旗標列舉型別。

  • dwRefType
    介於REFERENCE_TYPE指定參考型別是否為強式或安全性不足的列舉型別。

  • m_pReference
    IDebugReference2指定的參考資訊的物件。

備註

這個結構會傳遞至呼叫IDebugReference2::GetReferenceInfo方法,會自動填入。 從清單的一部分,也會傳回此結構IEnumDebugReferenceInfo2介面,反而會傳回從呼叫IDebugReference2::EnumChildren方法。

需求

標頭: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

組件: Microsoft.VisualStudio.Debugger.Interop.dll

請參閱

參考

結構和等位

IDebugReference2

DEBUGREF_INFO_FLAGS

DBG_ATTRIB_FLAGS

REFERENCE_TYPE

IDebugReference2::GetReferenceInfo

IDebugReference2::EnumChildren

IEnumDebugReferenceInfo2