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;
};

成員

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

另請參閱