何时以及为何使用“我”。 [英] When and Why use "Me."?

查看:76
本文介绍了何时以及为何使用“我”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我意识到这是一个非常基本的问题但使用Me.ControlName.Text而不仅仅使用ControlName对于
有一个优势。文本?离开我的时候我已经离开了。如果有好处的话会包括它。


谢谢,

Richard

Hello,

I realize that this is a very basic question but is there an advantage to
using Me.ControlName.Text over just using ControlName.Text? I have been
leaving the Me. off but would include it if there are benefits.

Thanks,
Richard

推荐答案

如果您不记得对象名称,我是一个方便的参考,intellisense

会给你一个清单。


-

OHM(Terry Burns)*使用以下内容给我发电子邮件*


Dim ch()As Char =" ufssz / cvsotAhsfbuTpmvujpotXjui / OFU" .ToCharArray()

For i As Int32 = 0 to ch.Length - 1

ch(i)= Convert.ToChar(Convert.ToInt16(ch(i)) - 1)

下一页

Process.Start(" mailto:"& New String(ch))

-

Richard Thornley < rh的** @ thorsoft.com>在消息中写道

news:ev ************** @ TK2MSFTNGP10.phx.gbl ...
Me is a handy reference if you cant remember the object name, intellisense
will give you a list.

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"Richard Thornley" <rh**@thorsoft.com> wrote in message
news:ev**************@TK2MSFTNGP10.phx.gbl...
你好,
我意识到这是一个非常基本的问题,但使用Me.ControlName.Text而不仅仅使用ControlName.Text是否有优势?我一直在离开我。关闭但如果有好处则包含它。

谢谢,
理查德
Hello,

I realize that this is a very basic question but is there an advantage to
using Me.ControlName.Text over just using ControlName.Text? I have been
leaving the Me. off but would include it if there are benefits.

Thanks,
Richard



理查德,


我主要只是用来作为一个简单的智能快捷方式,其余的它

没有任何意义,当有一个暧昧的名字时有一点点例外

在你的程序中使用。你也可以使用它来使这个名字独一无二。

我认为一个更好的名字是我的。这是所有直接

属于该类的东西。但是我不是一个以母语为人的人。

英语所以我必须要小心谨慎。


我希望这有帮助吗? br />

Cor


" Richard Thornley" < rh ** @ thorsoft.com>
Richard,

Me is mostly just used as an easy shortcut to intelisence, for the rest it
makes no sense with the little exception when there is an ambigious name
used in your program. Than you can use it as well to make that name unique.
I think that a better name had been My. It are all things that directly
belongs to the class. However I am not a person wich native language is
English so I have to be a little bit carefull with telling this.

I hope this helps?

Cor

"Richard Thornley" <rh**@thorsoft.com>
你好,

我意识到这是一个非常基本的问题,但是有一个优势吗? >仅使用ControlName.Text使用Me.ControlName.Text?我一直在离开我。关闭但如果有好处则包括它。

谢谢,
理查德
Hello,

I realize that this is a very basic question but is there an advantage to
using Me.ControlName.Text over just using ControlName.Text? I have been
leaving the Me. off but would include it if there are benefits.

Thanks,
Richard



感谢您的解释。这就是我的想法,但是

有时在手册或书中难以找到简单的答案。


干杯,
< br $>
理查德


单手男子(OHM - Terry Burns) < news.microsoft.com>在留言中写道

新闻:%2 **************** @ TK2MSFTNGP09.phx.gbl ...
Thank You for the explaination. That is what I thought it was for but
sometimes a simple answer is difficult to find in a manual or book.

Cheers,

Richard

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
我是一个方便的参考,如果你不记得对象名称,intellisense
将给你一个列表。

-
OHM(特里伯恩斯)*使用以下内容给我发电子邮件*

Dim ch()As Char =" ufssz / cvsotAhsfbuTpmvujpotXjui / OFU" .ToCharArray()
For i As Int32 = 0 to ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
下一步
Process.Start(" mailto:"& New String(ch))
-

" Richard Thornley" < rh的** @ thorsoft.com>在消息中写道
新闻:ev ************** @ TK2MSFTNGP10.phx.gbl ...
Me is a handy reference if you cant remember the object name, intellisense
will give you a list.

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"Richard Thornley" <rh**@thorsoft.com> wrote in message
news:ev**************@TK2MSFTNGP10.phx.gbl...
你好,
我意识到这是一个非常基本的问题,但使用Me.ControlName.Text而不仅仅使用ControlName.Text是否有优势?我一直在离开我。关闭但如果有好处则会包含它。

谢谢,
Richard
Hello,

I realize that this is a very basic question but is there an advantage to
using Me.ControlName.Text over just using ControlName.Text? I have been
leaving the Me. off but would include it if there are benefits.

Thanks,
Richard




这篇关于何时以及为何使用“我”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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