ISignatureTypeProvider<TType,TGenericContext>.GetTypeFromSpecification Methode

Definitie

Hiermee haalt u het typesymbool voor een typespecificatie op.

public:
 TType GetTypeFromSpecification(System::Reflection::Metadata::MetadataReader ^ reader, TGenericContext genericContext, System::Reflection::Metadata::TypeSpecificationHandle handle, System::Byte rawTypeKind);
public TType GetTypeFromSpecification(System.Reflection.Metadata.MetadataReader reader, TGenericContext genericContext, System.Reflection.Metadata.TypeSpecificationHandle handle, byte rawTypeKind);
abstract member GetTypeFromSpecification : System.Reflection.Metadata.MetadataReader * 'GenericContext * System.Reflection.Metadata.TypeSpecificationHandle * byte -> 'ype
Public Function GetTypeFromSpecification (reader As MetadataReader, genericContext As TGenericContext, handle As TypeSpecificationHandle, rawTypeKind As Byte) As TType

Parameters

reader
MetadataReader

De metagegevenslezer die is doorgegeven aan de handtekeningdecoder. Het kan zijn null.

genericContext
TGenericContext

De context die is doorgegeven aan de handtekeningdecoder.

handle
TypeSpecificationHandle

De typespecificatiegreep.

rawTypeKind
Byte

Het type, zoals opgegeven in de handtekening. Als u deze waarde wilt interpreteren, gebruikt u ResolveSignatureTypeKind(MetadataReader, EntityHandle, Byte).

Retouren

TType

Het typesymbool voor de typespecificatie.

Opmerkingen

Wanneer de handtekening afkomstig is van een WinMD-bestand, is aanvullende verwerking nodig om te bepalen of het doeltype een waardetype of een verwijzingstype is.

Van toepassing op