IMetaDataAssemblyEmit::SetFileProps Method
Modifies the specified File
metadata structure.
Syntax
HRESULT SetFileProps (
[in] mdFile file,
[in] const void *pbHashValue,
[in] ULONG cbHashValue,
[in] DWORD dwFileFlags
);
Parameters
file
[in] The metadata token that specifies the File
metadata structure to be modified.
pbHashValue
[in] A pointer to the hash data associated with the file.
cbHashValue
[in] The size in bytes of pbHashValue
.
dwFileFlags
[in] A bitwise combination of CorFileFlags values that specify various attributes of the file.
Remarks
To create a File
metadata structure, use the IMetaDataAssemblyEmit::DefineFile method.
Requirements
Platforms: See System Requirements.
Header: Cor.h
Library: Used as a resource in MsCorEE.dll
.NET Framework Versions: Available since 1.0
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.