文件属性 [英] File Properties
本文介绍了文件属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用此(和类似名称)
I''m using this (and similar)
IShellProperty Commentsprop = ShellObject.FromParsingName(Filename).Properties.GetProperty("System.Comment");
SetPropertyValue(Comments, Commentsprop);
获取(并设置)文件中的属性.可以正常工作,但是在任何地方都找不到关于字符串长度的信息,例如,属性"Comment
"和"Keywords
"(标签)的最大长度.
有人知道限制是什么吗?虽然并非不可能,但我认为如果您可以放一部小说发表评论,或添加一个不计其数的标签,这有点怪.
to get (and set) properties in files. Works fine, but nowhere can I find any info on string lengths and such, specifically the max length for the properties "Comment
" and "Keywords
" (Tags).
Anyone know what the limits are? While not impossible, I think it''s kind of icky if you can put in a novel for a Comment, or add a bazillion Tags.
推荐答案
链接描述/注释的最大长度,那么它似乎是 INFOTIPSIZE
,我认为是1024.
If you mean the max length of the link descrption/comment, then it seems to be INFOTIPSIZE
which is 1024 I think.
这篇关于文件属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文