Edit

Share via


IMetaDataAssemblyImport::FindManifestResourceByName Method

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

Syntax

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 supported operating systems.

Header: Cor.h

Library: CorGuids.lib

See also