SignatureTypeEncoder.GenericInstantiation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Starts a generic instantiation signature.
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
Parameters
- genericType
- EntityHandle
- genericArgumentCount
- Int32
Generic argument count.
- isValueType
- Boolean
true
to mark the type as value type, false
to mark it as a reference type in the signature.
Returns
Exceptions
genericType
doesn't have the expected handle kind.
genericArgumentCount
is not in range [1, 0xffff].
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.