IMetaDataAssemblyEmit::SetFileProps Method
Modifies the specified File metadata structure.
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 .NET Framework System Requirements.
Header: Cor.h
Library: Used as a resource in MsCorEE.dll
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0