获取或编程方式设置文件的详细信息 [英] Get or set file details programmatically

查看:285
本文介绍了获取或编程方式设置文件的详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试将任何文件,右键点击它,然后点击详细信息选项卡上。照片

Try going to any file, right clicking on it, and clicking on the "Details" tab. Like this photo

我想改变这个值。此外,我可以添加自定义属性文件的详细信息。特别是我想这样做会更改TIF,JPEG,PNG,PDF文件。
我可以看到我的自定义属性中的详细信息窗口?

I want to change this values. Also Can I add custom properties the file details. Especially I want to do this changes for tif,jpeg,png,pdf files. Can I see my custom properties in "Details" window?

我找到了这个网页,但它只能更改Office文件。
http://www.microsoft.com/en -us /下载/ details.aspx?ID = 8422

I found this page but it can change only office files. http://www.microsoft.com/en-us/download/details.aspx?id=8422

推荐答案

您可以使用的的Windows API代码包。它为Windows产权制度的包装。

You can use the Windows API Code Pack. It has wrappers for the Windows Property System.

这篇关于获取或编程方式设置文件的详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆