是否在.NET Compact Framework拥有的TryParse方法?在哪里文档? [英] Does the .NET Compact Framework have the TryParse methods? Where is the documentation?

查看:202
本文介绍了是否在.NET Compact Framework拥有的TryParse方法?在哪里文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我所看到的非官方博客和SO职位指示的TryParse不是.NET CF的一部分话虽这么说,我想:

I have seen unofficial blogs and SO posts that indicate TryParse is not part of .NET CF. That being said, I would like:

  1. 要确保这是真实的,而
  2. 要阅读官方文档。

请发布一个答案,链接到官方的MSDN文档。

Please post an answer with a link to official MSDN documentation.

推荐答案

您还可以查看任何类的.NET 3.5会员页面。如果有一个设备的图标(),那么它在CF的支持,否则就不是。 这里是为Int16的:

You can also look at the .NET 3.5 Member page for any class. If it has a device icon (), then it's supported in the CF, otherwise it's not. Here's an example for the Int16:

解析:有图标。支持的。照片 的ToString :有图标。支持的。照片 的TryParse :无图标。不支持。

Parse: Has the icon. Supported.
ToString: Has the icon. Supported.
TryParse: No icon. Not supported.

这篇关于是否在.NET Compact Framework拥有的TryParse方法?在哪里文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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