共用方式為


DEBUG_PROPERTY_INFO

Contains information about a debug property.

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

Members

  • dwValidFields
    A combination of flags from the DEBUGPROP_INFO_FLAGS enumeration that specifies which fields are filled in.

  • bstrFullName
    The full name of the property.

  • bstrName
    The property name within a context.

  • bstrType
    The property type as a formatted string.

  • bstrValue
    The property value as a formatted string.

  • pProperty
    The IDebugProperty2 object described by this structure.

  • dwAttrib
    A combination of flags from the DBG_ATTRIB_FLAGS enumeration describing the attributes of this property.

Remarks

A property is an object of a hierarchical nature that has a name, type, and value. For example, a property can describe local variables, parameters, watch variables and expressions, and registers.

This structure is passed to the IDebugProperty2::GetPropertyInfo method where it is filled in. This structure is also returned as part of a list of this structure from the IEnumDebugPropertyInfo2 interface which, in turn, is returned from a call to the IDebugProperty2::EnumChildren and IDebugStackFrame2::EnumProperties methods.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

Structures and Unions

DEBUGPROP_INFO_FLAGS

DBG_ATTRIB_FLAGS

IDebugProperty2

IDebugProperty2::GetPropertyInfo

IEnumDebugPropertyInfo2

IDebugProperty2::EnumChildren

IDebugStackFrame2::EnumProperties