VB中什么类型的变量accesskey [英] what type of variable accesskey in VB

查看:76
本文介绍了VB中什么类型的变量accesskey的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,



我想寻求你的协助,澄清VB.Net中哪种类型的变量访问密钥及其功能是什么?



请举例说明详细说明,



非常感谢你。

解决方案

你可以通过调用

 myObject ) >  Dim  myObjectType  As  System.Type = myObject。 GetType ()



这可以针对任何类型完成,无论这是引用类型的值类型(值类型变量将是盒装)。







请参阅:

http://msdn.microsoft.com /en-us/library/system.object.gettype%28v=vs.110%29.aspx [ ^ ],

http://msdn.microsoft.com/en -us / library / system.type(v = vs.110).aspx [ ^ ]。



这是CLI的基础知识之一。如果你不太了解这些事情,你需要停止做你正在做的事情并从头开始学习.NET。



-SA

Dear All,

I would like to seek your assist to clarify about what type of variable accesskey in VB.Net and what are their functionality?

please detail description with example,

thanks you so much.

解决方案

You can find out the type of any variable (say, myObject) by calling

Dim myObjectType As System.Type = myObject.GetType()


This can be done for any type, no matter is this is value type of reference type (a value-type variable will be boxed).

[EDIT]

Please see:
http://msdn.microsoft.com/en-us/library/system.object.gettype%28v=vs.110%29.aspx[^],
http://msdn.microsoft.com/en-us/library/system.type(v=vs.110).aspx[^].

This is one of the basics of CLI. If you don't quite understand such things, you need to stop doing what you are doing and start learning .NET from scratch.

—SA


这篇关于VB中什么类型的变量accesskey的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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