Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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