Partager via


DEBUG_REFERENCE_INFO

Note

This article applies to Visual Studio 2015. 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

Describes a reference.

Syntax

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

Members

dwFields
A combination of flags from the DEBUGREF_INFO_FLAGS enumeration that specifies which fields are filled out.

bstrName
The user-specified name of the IDebugReference2 object.

bstrType
The reference type as a formatted string.

bstrValue
The reference value as a formatted string

dwAttrib
A combination of flags from the DBG_ATTRIB_FLAGS enumeration that specifies the flags for the debug property attributes.

dwRefType
A value from the REFERENCE_TYPE enumeration that specifies whether the reference type is strong or weak.

m_pReference
An IDebugReference2 object that specifies the reference information.

Remarks

This structure is passed to a call to the GetReferenceInfo method to be filled in. This structure is also returned as part of a list from the IEnumDebugReferenceInfo2 interface which, in turn, is returned from a call to the EnumChildren method.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Structures and Unions
IDebugReference2
DEBUGREF_INFO_FLAGS
DBG_ATTRIB_FLAGS
REFERENCE_TYPE
GetReferenceInfo
EnumChildren
IEnumDebugReferenceInfo2