IMetaDataImport::FindTypeRef Method
Gets a pointer to the TypeRef token for the Type reference that is in the specified scope and that has the specified name.
Syntax
HRESULT FindTypeRef (
[in] mdToken tkResolutionScope,
[in] LPCWSTR szName,
[out] mdTypeRef *ptr
);
Parameters
tkResolutionScope
[in] A ModuleRef, AssemblyRef, or TypeRef token that specifies the module, assembly, or type, respectively, in which the type reference is defined.
szName
[in] The name of the type reference to search for.
ptr
[out] A pointer to the matching TypeRef token.
Requirements
Platforms: See System Requirements.
Header: Cor.h
Library: Included as a resource in MsCorEE.dll
.NET Framework Versions: Available since 1.0
See also
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.