包含有关如何调试属性的信息。
typedef struct tagDEBUG_PROPERTY_INFO {
DEBUGPROP_INFO_FLAGS dwValidFields;
BSTR bstrFullName;
BSTR bstrName;
BSTR bstrType;
BSTR bstrValue;
IDebugProperty2* pProperty;
DBG_ATTRIB_FLAGS dwAttrib;
} DEBUG_PROPERTY_INFO;
public struct DEBUG_PROPERTY_INFO {
public uint dwValidFields;
public string bstrFullName;
public string bstrName;
public string bstrType;
public string bstrValue;
public IDebugProperty2 pProperty;
public ulong dwAttrib;
};
成员
dwValidFields
标志的组合从指定的 DEBUGPROP_INFO_FLAGS 枚举的哪些字段填充。bstrFullName
特性的全名。bstrName
在上下文中的属性名称。bstrType
属性类型作为一个格式化的字符串。bstrValue
属性值作为已格式化的字符串。pProperty
此结构描述的 IDebugProperty2 对象。dwAttrib
标志的组合。描述此属性的属性 DBG_ATTRIB_FLAGS 枚举的。
备注
属性是一个具有名称、类型和值分层性质的对象。 例如,属性可以描述局部变量、参数、监视变量与表达式和注册。
此结构传递给该方法的 IDebugProperty2:: GetPropertyInfo 方法。 此结构还会作为此结构的一部分列出从调用,然后,返回到 IDebugProperty2:: EnumChildren 和 IDebugStackFrame2:: EnumProperties 方法的 IEnumDebugPropertyInfo2 接口的。
要求
标题:msdbg.h
命名空间:Microsoft.VisualStudio.Debugger.Interop
程序集:Microsoft.VisualStudio.Debugger.Interop.dll
请参见
参考
IDebugProperty2:: GetPropertyInfo