设置文件的内容类型,在 silverlight SaveFileDialog 中
正如标题所说;有没有办法在 Silverlight SaveFileDialog 中设置文件的内容类型?我还没有找到办法,如果不可能的话我并不感到惊讶,只是想问问并看看其他人是否知道。
As the title says; Is there any way to set the content type of a file in Silverlight SaveFileDialog? I haven't found a way, and I'm not surprised if it's not possible, just thought I ask and see if anyone else knows for sure.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您要查找的是上传文件的 Mime 类型。我认为这可以在 Silverlight 中使用,而且我不明白为什么不可以,但是我从未在这种情况下使用过它。您需要添加以下内容:
What you are looking for is the Mime type of the file uploaded. I presume this will work in Silverlight and I cant see why not, however I've never used it in that context. You need to add the following: