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

查看:136
本文介绍了.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 Member页面。如果它有一个设备图标(),那么它在CF中支持,否则不是。 这是Int16的一个例子, a>:

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天全站免登陆