vb到vb.net的功能 [英] vb to vb.net functions
问题描述
我习惯使用像replace,inst,cstr等vb函数。
找到vb.net等价物的最佳方法是什么,或者如果我继续使用它是否重要
旧功能?
Mike
I am used to using vb function like replace, inst, cstr etc. What is the
best way to find vb.net equivalents or does it matter if I continue to use
the old functions?
Mike
推荐答案
Mike,
Mike,
我习惯使用vb函数,如replace,inst,cstr等。找到vb.net等价物的最佳方式是什么?或者如果我继续使用它是否重要
旧函数?
I am used to using vb function like replace, inst, cstr etc. What is the
best way to find vb.net equivalents or does it matter if I continue to use
the old functions?
不,你可以使用它们那些是Net框架的完整部分。有一些
小例外。
http://msdn.microsoft.com/library/de...rykeywords.asp
>
顺便说一句,您也可以在C#中使用它们。唯一的区别是在
VBNet这个命名空间是默认设置。
我希望这有帮助,
Cor
No, you can use them those are a full part of the Net framework. With some
small exceptions.
http://msdn.microsoft.com/library/de...rykeywords.asp
You can use them in C# as well by the way. The only difference is that in
VBNet this namespace is default set.
I hope this helps,
Cor
感谢您的回复。我很高兴听到我可以继续使用旧的
功能。我也试图使用一些较新的.net方式。
再次感谢
Mike
Cor Ligthert写道:
Thanks for the response. I''m glad to hear I can continue using the older
functions. I am trying to use some of the newer .net ways too.
Thanks again
Mike
"Cor Ligthert" wrote:
Mike,
Mike,
我习惯使用vb函数,如replace,inst,cstr等。
找到vb.net等价物的最佳方法还是重要的是我继续使用旧功能?
I am used to using vb function like replace, inst, cstr etc. What is the
best way to find vb.net equivalents or does it matter if I continue to use
the old functions?
不,你可以使用它们那些是Net框架的完整部分。有一些小例外。
http://msdn.microsoft.com/library/de...rykeywords.asp
你可以使用顺便说一下,他们在C#中也是如此。唯一的区别是在VBNet中这个命名空间是默认设置。
我希望这有帮助,
Cor
No, you can use them those are a full part of the Net framework. With some
small exceptions.
http://msdn.microsoft.com/library/de...rykeywords.asp
You can use them in C# as well by the way. The only difference is that in
VBNet this namespace is default set.
I hope this helps,
Cor
>
支持旧函数,但以新方式处理更容易。说你
想把东西转换为String。输入变量名称后跟
期间。 intellisense将启动并显示有效方法列表。
只需选择ToString即可。因此,如果变量是a,那么新的方法就是
a.ToString
-hth
Mike D <弥*** @ discussions.microsoft.com>在消息中写道
新闻:0A ********************************** @ microsof t.com ...
Old functions are supported but doing things the new way is easier. Say you
want to convert something to String. Type in the variable name followed by a
period. The intellisense will kick in and show you a list of valid methods.
Just select ToString. So if the variable is a, the new way to do it would be
a.ToString
-hth
"Mike D" <Mi***@discussions.microsoft.com> wrote in message
news:0A**********************************@microsof t.com...
我习惯使用vb函数,如replace,inst,cstr等。找到vb.net等价物的最佳方法是什么,或者如果我有什么关系继续使用旧功能?
Mike
I am used to using vb function like replace, inst, cstr etc. What is the
best way to find vb.net equivalents or does it matter if I continue to use
the old functions?
Mike
这篇关于vb到vb.net的功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!