Share 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

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

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

See Also

Reference

IMetaDataAssemblyEmit Interface