Delen via


IMetaDataAssemblyImport::FindManifestResourceByName Method

Gets a pointer to the manifest resource with the specified name.

HRESULT FindManifestResourceByName (
    [in]  LPCWSTR                szName, 
    [out] mdManifestResource     *ptkManifestResource
); 

Parameters

  • szName
    [in] The name of the resource.

  • ptkManifestResource
    [out] The array used to store the mdManifestResource metadata tokens, each of which represents a manifest resource.

Remarks

The FindManifestResourceByName method uses the standard rules employed by the common language runtime for resolving references.

Requirements

Platform: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Concepts

How the Runtime Locates Assemblies

Reference

IMetaDataAssemblyImport Interface