Bagikan melalui


MethodSignature<TType> Konstruktor

Definisi

Menginisialisasi instans MethodSignature<TType> baru struktur menggunakan header, jenis pengembalian, dan informasi parameter yang ditentukan.

public:
 MethodSignature(System::Reflection::Metadata::SignatureHeader header, TType returnType, int requiredParameterCount, int genericParameterCount, System::Collections::Immutable::ImmutableArray<TType> parameterTypes);
public MethodSignature (System.Reflection.Metadata.SignatureHeader header, TType returnType, int requiredParameterCount, int genericParameterCount, System.Collections.Immutable.ImmutableArray<TType> parameterTypes);
new System.Reflection.Metadata.MethodSignature<'ype> : System.Reflection.Metadata.SignatureHeader * 'ype * int * int * System.Collections.Immutable.ImmutableArray<'ype> -> System.Reflection.Metadata.MethodSignature<'ype>
Public Sub New (header As SignatureHeader, returnType As TType, requiredParameterCount As Integer, genericParameterCount As Integer, parameterTypes As ImmutableArray(Of TType))

Parameter

header
SignatureHeader

Informasi dalam byte utama tanda tangan (jenis, konvensi panggilan, bendera).

returnType
TType

Jenis pengembalian metode .

requiredParameterCount
Int32

Jumlah parameter yang diperlukan.

genericParameterCount
Int32

Jumlah parameter jenis generik.

parameterTypes
ImmutableArray<TType>

Jenis parameter.

Berlaku untuk