共用方式為


METADATA_ADDRESS_RETVAL

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

This structure represents a return value from a method or function.

Syntax

typedef struct _tagMETADATA_ADDRESS_RETVAL {
   _mdToken tokMethod;
   DWORD    dwCorType;
   DWORD    dwSigSize;
   BYTE     rgSig[10];
} METADATA_ADDRESS_RETVAL;
public struct METADATA_ADDRESS_RETVAL {
   public int    tokMethod;
   public uint   dwCorType;
   public uint   dwSigSize;
   public byte[] rgSig;
}

Members

tokMethod
The ID of the method this return value is for.

dwCorType
The base type of return value. This is a value from the CorElementType enumeration defined in the .NET Framework SDK corhdr.h file.

dwSigSize
The size of the return value signature (as stored in rgSig).

rgSig
An array of bytes forming the signature of the return value.

Remarks

This structure is part of the union in the DEBUG_ADDRESS_UNION structure when the dwKind field of the DEBUG_ADDRESS_UNION structure is set to ADDRESS_KIND_RETVAL (a value from the ADDRESS_KIND enumeration).

Requirements

Header: sh.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also