描述引用。
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;
};
成员
dwFields
标志的组合从指定的 DEBUGREF_INFO_FLAGS 枚举的哪些字段。完成。bstrName
IDebugReference2 对象的用户指定的名称。bstrType
引用类型作为一个格式化的字符串。bstrValue
引用值作为一个格式字符串dwAttrib
标志的组合。对于调试属性指定标志的 DBG_ATTRIB_FLAGS 枚举的。dwRefType
从指定的 REFERENCE_TYPE 枚举的值引用类型是强名称或弱。m_pReference
指定参考信息的 IDebugReference2 对象。
备注
此结构传递给要填充的 IDebugReference2:: GetReferenceInfo 方法的调用。 此结构还会作为从调用,然后,返回到 IDebugReference2:: EnumChildren 方法的 IEnumDebugReferenceInfo2 接口的列表一部分。
要求
标题:msdbg.h
命名空间:Microsoft.VisualStudio.Debugger.Interop
程序集:Microsoft.VisualStudio.Debugger.Interop.dll
请参见
参考
IDebugReference2:: GetReferenceInfo