SignatureTypeEncoder.GenericInstantiation Метод

Определение

Запускает сигнатуру универсального экземпляра.

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

Параметры

genericArgumentCount
Int32

Число универсальных аргументов.

isValueType
Boolean

true, чтобы пометить тип как тип значения; false, чтобы пометить его как ссылочный тип в сигнатуре.

Возвращаемое значение

Исключения

genericType не имеет ожидаемого типа дескриптора.

genericArgumentCount находится за пределами диапазона [1, 0xffff].

Применяется к