在 .NET Compact Framework (C#) 中创建 vCard 文件 [英] Creating vCard file in .NET Compact Framework (C#)

查看:17
本文介绍了在 .NET Compact Framework (C#) 中创建 vCard 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 .NET Compact Framework 中是否有内置的方法来创建 vCard 文件?如果不是,那么什么是好的库?

Is there a built-in way to create vCard files in the .NET Compact Framework? If not, what is a good library for this?

我发现这个经过一些改编后似乎能够在 Compact Framework 上完成这项工作:http://thoughtproject.com/Libraries/vCard/index.htm

I have found this one which after some adaptations would seems to be able to do the job on the Compact Framework: http://thoughtproject.com/Libraries/vCard/index.htm

但我不确定是否有内置或更标准的方法来做到这一点.

But I'm not sure if there is not a build-in or more standard way to do it.

问候,将

推荐答案

vCard 是一种通用协议,您可以使用您提到的库来生成 vCard.到目前为止,我知道 vCard 的 .net 框架中没有内置 api.您可能需要付出一些额外的努力才能将其移植到 .netcf,但这应该不是问题.只要您的代码生成符合 vCard 协议的 vCard 就应该是好的,因为没有关于如何生成 vCard 的标准定义.

vCard is a universal protocol and you can use the library you've mentioned to generate vCards. There's not built-in api in ,net framework for vCard so far I know. You might need put some extra effort to port it to .netcf but it should not be a problem. As long as your code generates the vCard that conforms to the vCard protocol it should be good as such there's not standards defined on how to generate the vCards.

这篇关于在 .NET Compact Framework (C#) 中创建 vCard 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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