IMetaDataAssemblyImport::FindExportedTypeByName Method
Gets a pointer to an exported type, given its name and enclosing type.
Syntax
HRESULT FindExportedTypeByName (
[in] LPCWSTR szName,
[in] mdToken mdtExportedType,
[out] mdExportedType *ptkExportedType
);
Parameters
szName
[in] The name of the exported type.
mdtExportedType
[in] The metadata token for the enclosing class of the exported type. This value is mdExportedTypeNil
if the requested exported type is not a nested type.
ptkExportedType
[out] A pointer to the mdExportedType
token that represents the exported type.
Remarks
The FindExportedTypeByName
method uses the standard rules employed by the common language runtime for resolving references.
Requirements
Platforms: See System Requirements.
Header: Cor.h
Library: Used as a resource in MsCorEE.dll
.NET Framework Versions: Available since 1.0
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for