逗号WPF中的Pack URI [英] Commas in WPF Pack URIs

查看:279
本文介绍了逗号WPF中的Pack URI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

WPF的Pack URI 使用三个连续的逗号,例如:

WPF Pack URIs use three consecutive commas, for example:

pack://application:,,,/myFolder/myPic.bmp

,,, 部分应该意味着什么?难道只是一个分隔符?逗号之间什么都可以去吗?

Is the ,,, part supposed to mean anything? Is it just a delimiter? Can anything go between the commas?

推荐答案

答案是你链接到,


  • 管理局:应用程序:///

  • Authority: application:///

...此外,的/字符必须与,字符被替换,而保留的字符,如%和?必须转义。详情请参阅OPC

... Additionally, the "/" character must be replaced with the "," character, and reserved characters such as "%" and "?" must be escaped. See the OPC for details

所以

,,, 部分应该意味着什么?

Is the ,,, part supposed to mean anything?

这对 ///

能否任何逗号之间去了?

Can anything go between the commas?

<击>

更正:OPC(开放包装)链接指向的 ECMA-376 并包含类似结果
的例子包:// HTTP%3C ,, www.openxmlformats.org,my.container / A / b / foo.xml

Correction: The OPC (Open Packaging) link leads to ECMA-376 and that contains examples like
pack://http%3c,,www.openxmlformats.org,my.container/a/b/foo.xml

但据我所知,这并不适用到WPF。

but afaik that does not apply to WPF.

这篇关于逗号WPF中的Pack URI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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