ISimpleTypeProvider<TType>.GetTypeFromDefinition 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.
Gets the type symbol for a type definition.
public:
TType GetTypeFromDefinition(System::Reflection::Metadata::MetadataReader ^ reader, System::Reflection::Metadata::TypeDefinitionHandle handle, System::Byte rawTypeKind);
public TType GetTypeFromDefinition (System.Reflection.Metadata.MetadataReader reader, System.Reflection.Metadata.TypeDefinitionHandle handle, byte rawTypeKind);
abstract member GetTypeFromDefinition : System.Reflection.Metadata.MetadataReader * System.Reflection.Metadata.TypeDefinitionHandle * byte -> 'ype
Public Function GetTypeFromDefinition (reader As MetadataReader, handle As TypeDefinitionHandle, rawTypeKind As Byte) As TType
Parameters
- reader
- MetadataReader
The metadata reader that was passed to the signature decoder. It may be null
.
- handle
- TypeDefinitionHandle
The type definition handle.
- rawTypeKind
- Byte
The kind of the type, as specified in the signature. To interpret this value use ResolveSignatureTypeKind(MetadataReader, EntityHandle, Byte).
Returns
The type symbol.
Remarks
When the signature comes from a WinMD file, additional processing is needed to determine whether the target type is a value type or a reference type.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om