SignatureTypeEncoder.GenericInstantiation Metoda

Definicja

Uruchamia ogólny podpis wystąpienia.

public:
 System::Reflection::Metadata::Ecma335::GenericTypeArgumentsEncoder GenericInstantiation(System::Reflection::Metadata::EntityHandle genericType, int genericArgumentCount, bool isValueType);
public System.Reflection.Metadata.Ecma335.GenericTypeArgumentsEncoder GenericInstantiation (System.Reflection.Metadata.EntityHandle genericType, int genericArgumentCount, bool isValueType);
member this.GenericInstantiation : System.Reflection.Metadata.EntityHandle * int * bool -> System.Reflection.Metadata.Ecma335.GenericTypeArgumentsEncoder
Public Function GenericInstantiation (genericType As EntityHandle, genericArgumentCount As Integer, isValueType As Boolean) As GenericTypeArgumentsEncoder

Parametry

genericArgumentCount
Int32

Ogólna liczba argumentów.

isValueType
Boolean

true aby oznaczyć typ jako typ wartości, false aby oznaczyć go jako typ odniesienia w podpisie.

Zwraca

Wyjątki

genericType nie ma oczekiwanego rodzaju uchwytu.

genericArgumentCount nie jest w zakresie [1, 0xffff].

Dotyczy