Partager via


IMetaDataAssemblyEmit::SetManifestResourceProps Method

Modifies the specified ManifestResource metadata structure.

HRESULT SetManifestResourceProps (
    [in] mdManifestResource  mr,
    [in] mdToken             tkImplementation, 
    [in] DWORD               dwOffset,
    [in] DWORD               dwResourceFlags
);

Parameters

  • mr
    [in] The token that specifies the ManifestResource metadata structure to be modified.

  • tkImplementation
    [in] The token, of type File or AssemblyRef, that maps to the resource provider.

  • dwOffset
    [in] The offset to the beginning of the resource within the file.

  • dwResourceFlags
    [in] A bitwise combination of flag values that specify the attributes of the resource.

Remarks

To create a ManifestResource metadata structure, use the IMetaDataAssemblyEmit::DefineManifestResource method.

Requirements

Platform: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

IMetaDataAssemblyEmit Interface