VB.NET 2.0中的Yield关键字 [英] Yield Keyword in VB.NET 2.0
本文介绍了VB.NET 2.0中的Yield关键字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
到底是什么 - 我找不到它。看到它丢失有点震惊。
所以VB.NET有yield关键字,还是任何等价的关键字 ?
-
- Sahil Malik [MVP]
即将推出的ADO.NET 2.0书籍 - http://tinyurl.com/9bync
--------- -------------------------------------------------- -----------------
What the heck - I can''t find it. A bit shocked to see it missing though.
So "Does VB.NET have the yield keyword, or any equivalent of it" ?
--
- Sahil Malik [MVP]
Upcoming ADO.NET 2.0 book - http://tinyurl.com/9bync
----------------------------------------------------------------------------
推荐答案
Sahil,
请为研究提供更好的可能性,因此更好的
产品,将此新闻组用于Net 2.0及相关产品。
实验室
http://lab.msdn.microsoft.com/vs2005/community/
我希望这会有所帮助,
Cor
Sahil,
Please to give better posibilities to research and therefore a better
product, use this newsgroups for Net 2.0 and related products.
Lab
http://lab.msdn.microsoft.com/vs2005/community/
I hope this helps,
Cor
Cor,
我检查了那个地方 - 那里没有帮助。
我必须说,我非常沮丧,非常生气,因为
重要的是收益率关键字将被错过VB.NET。
现在尝试编写SQLCLR TVF以及在C#中完成它所需的3行
翻译为3有缺陷的VB.NET代码页面。高度非常高度
愚蠢地想念IMO。
- Sahil Malik [MVP]
即将推出的ADO.NET 2.0书 - http://tinyurl.com/9bync
- -------------------------------------------------- -------------------------
" Cor Ligthert" <无************ @ planet.nl>在消息中写道
新闻:Ow ************** @ TK2MSFTNGP09.phx.gbl ...
Cor,
I checked that place - no help there.
I must say, I am incredibly frustrated and very annoyed that something as
important as the "yield" keyword would be missed out of VB.NET.
Now try writing a SQLCLR TVF and the 3 lines it takes to accomplish it in C#
translate to 3 pages of buggy VB.NET code. Highly Highly Highly Highly
stupid to miss that out IMO.
- Sahil Malik [MVP]
Upcoming ADO.NET 2.0 book - http://tinyurl.com/9bync
----------------------------------------------------------------------------
"Cor Ligthert" <no************@planet.nl> wrote in message
news:Ow**************@TK2MSFTNGP09.phx.gbl...
Sahil,>
请为研究提供更好的可能性,从而提供更好的产品,将此新闻组用于Net 2.0及相关产品。
实验室
http://lab.msdn.microsoft.com/vs2005/community/
我希望这会有所帮助,
Cor
Sahil,
Please to give better posibilities to research and therefore a better
product, use this newsgroups for Net 2.0 and related products.
Lab
http://lab.msdn.microsoft.com/vs2005/community/
I hope this helps,
Cor
Sahil,
我认为这可以达到你想要的地方。这个旧的Visual Basic
关键字可能是为什么用C语言调用的原因之一
静态是在VBNet Shared中调用的。
< a rel =nofollowhref =http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcn7/html/vbconstaticinitialization.asp\"target =_ blank> http: //msdn.microsoft.com/library/de...ialization.asp
我希望这会有所帮助,
Cor
Sahil,
I think that this reaches where you are looking for. This old Visual Basic
keyword is probably one of the reasons why what is in C language called
Static is called in VBNet Shared.
http://msdn.microsoft.com/library/de...ialization.asp
I hope this helps,
Cor
这篇关于VB.NET 2.0中的Yield关键字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文