Edit

Share via


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 .NET supported operating systems.

Header: Cor.h

Library: CorGuids.lib

See also