Share via


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

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