.NET 2.0中的DirectCast [英] DirectCast in .NET 2.0

查看:71
本文介绍了.NET 2.0中的DirectCast的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找不到..我错过了什么?


- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik

I can''t find it .. what am I missing?

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik


推荐答案

Sahil,


这不是C#功能,而是VB功能。你想做什么?

-

- Nicholas Paldino [.NET / C#MVP]

- mv*@spam.guard.caspershouse.com


" Sahil Malik" <共***************** @ nospam.com>在消息中写道

新闻:eU ************** @ TK2MSFTNGP09.phx.gbl ...
Sahil,

It''s not a C# feature, but a VB feature. What are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Sahil Malik" <co*****************@nospam.com> wrote in message
news:eU**************@TK2MSFTNGP09.phx.gbl...
我不能找到它..我错过了什么?

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik
I can''t find it .. what am I missing?

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik



我可以找不到......我错过了什么?
I can''t find it .. what am I missing?




错误的语言也许? DirectCast是一个VB.NET关键字,这是一个C#

新闻组....


Mattias


-

Mattias Sj?gren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com

请回复到新闻组。



Wrong language perhaps? DirectCast is a VB.NET keyword, this is a C#
newsgroup....

Mattias

--
Mattias Sj?gren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.


我正在尝试将我的对象投射到标准远程控制场景中。我是
是一个DirectCast粉丝..(在VB的CType上)


- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik


" Nicholas Paldino [ .NET / C#MVP]" < mv*@spam.guard.caspershouse.com>写在

消息新闻:#L ************** @ TK2MSFTNGP09.phx.gbl ...
Well I''m trying to cast my objects in a standard remoting like scenario. I
was a DirectCast fan .. (over CType in VB)

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:#L**************@TK2MSFTNGP09.phx.gbl...
Sahil,
-
- Nicholas Paldino [.NET / C#MVP]
- mv*@spam.guard.caspershouse.com

Sahil Malik <共***************** @ nospam.com>在消息中写道
新闻:eU ************** @ TK2MSFTNGP09.phx.gbl ...
Sahil,

It''s not a C# feature, but a VB feature. What are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Sahil Malik" <co*****************@nospam.com> wrote in message
news:eU**************@TK2MSFTNGP09.phx.gbl...
我找不到它..我错过了什么?

- Sahil Malik
http: //dotnetjunkies.com/weblog/sahilmalik
I can''t find it .. what am I missing?

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik




这篇关于.NET 2.0中的DirectCast的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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