共用方式為


DEBUG_PROPERTY_INFO

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Contains information about a debug property.

Syntax

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 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 EnumChildren and EnumProperties methods.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also