共用方式為


METADATA_ADDRESS_RETVAL

這個結構代表方法或函式的傳回值。

語法

public struct METADATA_ADDRESS_RETVAL {
   public int    tokMethod;
   public uint   dwCorType;
   public uint   dwSigSize;
   public byte[] rgSig;
}

成員

tokMethod
這個傳回值所針對之方法的標識符。

dwCorType
傳回值的基底類型。 這是 . CorElementType NET Framework SDK corhdr.h 檔案中定義的列舉值。

dwSigSize
傳回值簽章的大小(儲存在 中 rgSig)。

rgSig
構成傳回值簽章的位元組陣列。

備註

當 結構的欄位設定ADDRESS_KIND_RETVAL為 時dwKind,這個結構是DEBUG_ADDRESS_UNION結構中聯集的DEBUG_ADDRESS_UNION一部分(來自ADDRESS_KIND列舉的值)。

需求

標頭:sh.h

命名空間:Microsoft.VisualStudio.Debugger.Interop

元件:Microsoft.VisualStudio.Debugger.Interop.dll

另請參閱