开发者

Which is the full url for file types' icons in SharePoint 2010

I'm building a webpart in Visual Studio 2010 and I would like to show the files' icon开发者_StackOverflow中文版s next to its name. I thought that myFile.IconUrl would return the full url, but I only get its filename along with its extension.

Thanks in advance!


Most file type icons are kept in the 14 hive under /_layouts/images.

ie: /_layouts/images/ICBMP.GIF

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜