IMetaDataAssemblyEmit::SetManifestResourceProps Method
Modifies the specified ManifestResource
metadata structure.
Syntax
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 System Requirements.
Header: Cor.h
Library: Used as a resource in MsCorEE.dll
.NET Framework Versions: Available since 1.0