如何使用c#为Windows上的任何类型的文件设置详细/自定义属性? [英] How do I set detailed/custom properties for any type of Files on windows using c#?
本文介绍了如何使用c#为Windows上的任何类型的文件设置详细/自定义属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试设置文件属性/详细属性的值,这些属性显示在文件属性 - >详细信息选项卡中,如标题,作者,评论,标签等,
我可以通过使用Shell32 API获取详细属性列表,但我找不到任何设置这些属性的选项。 />
请指导我这个功能。
先谢谢。
Hi,
I am trying to set the values of File custom/detailed properties which displays under file properties->details tab such as Title,Author,Comments,Tags and etc.,
I can able to get list of detailed properties by using Shell32 API but i am not finding any options to set those properties.
Please guide me on this features.
Thanks in Advance.
推荐答案
参见 http://social.msdn.microsoft.com/Forums/vstudio/en-US/bb887b05-2018-4978-b115-c8c98e3542ce/setting-file-infoattributes-author-subject- ?forum = csharpgeneral [ ^ ]。
这篇关于如何使用c#为Windows上的任何类型的文件设置详细/自定义属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文