SignatureTypeEncoder.GenericInstantiation Méthode

Définition

Démarre une signature d’instanciation générique.

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

Paramètres

genericArgumentCount
Int32

Nombre d’arguments génériques.

isValueType
Boolean

true pour marquer le type comme type valeur, false pour le marquer comme type référence dans la signature.

Retours

Exceptions

genericType n’a pas le type de handle attendu.

genericArgumentCount n’est pas dans la plage [1, 0xffff].

S’applique à