METADATA_ADDRESS_RETVALMETADATA_ADDRESS_RETVAL

此結構代表方法或函數的傳回值。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. 這是 CorElementType .NET FRAMEWORK SDK corhdr.h .h 檔案中定義之列舉的值。This is a value from the CorElementType enumeration defined in the .NET Framework SDK corhdr.h file.

dwSigSize
傳回值簽章的大小 (儲存在) 中 rgSigThe size of the return value signature (as stored in rgSig).

rgSig
形成傳回值簽章的位元組陣列。An array of bytes forming the signature of the return value.

備註Remarks

當結構的DEBUG_ADDRESS_UNION dwKind 欄位 DEBUG_ADDRESS_UNION 設定為 ADDRESS_KIND_RETVAL (ADDRESS_KIND列舉) 中的值時,此結構就是 DEBUG_ADDRESS_UNION 結構中聯集的一部分。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

標頭: sh. hHeader: sh.h

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

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

另請參閱See also