共用方式為


DEBUG_REFERENCE_INFO

 

如需 Visual Studio 2017 的最新文件請參閱 Visual Studio 2017 文件

描述的參考。

語法

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物件,指定的參考資訊。

備註

此結構會傳遞至呼叫GetReferenceInfo方法,以進行填寫。 從清單的一部分,也會傳回此結構IEnumDebugReferenceInfo2介面,反而會從呼叫傳回EnumChildren方法。

需求

標頭︰ msdbg.h

命名空間︰ Microsoft.VisualStudio.Debugger.Interop

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

另請參閱

結構和等位
IDebugReference2
DEBUGREF_INFO_FLAGS
DBG_ATTRIB_FLAGS
REFERENCE_TYPE
GetReferenceInfo
EnumChildren
IEnumDebugReferenceInfo2