Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
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.
Posted
Comments
OriginalGriff 13-Sep-14 4:20am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.
[no name] 13-Sep-14 6:27am    
What did you find out when you went and read the documentation?

1 solution

You can find out the type of any variable (say, myObject) by calling
VB
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
 
Share this answer
 
v2
Comments
[no name] 13-Sep-14 21:58pm    
Dear Sergey Alexandrovich Kryukov,

I don't get your, could you detail it please?

thanks you
Sergey Alexandrovich Kryukov 14-Sep-14 9:03am    
Sure, please see the update to my answer above, after [EDIT]. I also translated this fragment to VB.NET.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900