REFERENCE_TYPE

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

Specifies the reference type.

Syntax

enum enum_REFERENCE_TYPE { 
   REF_TYPE_WEAK   = 0x0001,
   REF_TYPE_STRONG = 0x0002
};
typedef DWORD REFERENCE_TYPE;
public enum enum_REFERENCE_TYPE { 
   REF_TYPE_WEAK   = 0x0001,
   REF_TYPE_STRONG = 0x0002
};

Fields

REF_TYPE_WEAK
Specifies a weak reference. Cannot be combined with REF_TYPE_STRONG.

REF_TYPE_STRONG
Specifies a strong reference. Cannot be combined with REF_TYPE_WEAK.

Remarks

Used as the dwRefType member of the DEBUG_REFERENCE_INFO structure.

Passed as a parameter to the SetReferenceType method.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also