Does ‘Me’ in VB.NET refer to the instantiated object only

vb.net

Does 'Me' in VB.NET refer only to an instantiation of the type? Just occurred to me that since I can reference properties in my VB.NET class without using 'Me', that I don't see a reason for using it for this purpose. Will referencing the variable either way always refer to the actual stored value for the property at runtime?

Best Answer

From the Me documentation on MSDN:

The Me keyword behaves like either an object variable or a structure variable referring to the current instance.

The use case described is that of passing the current object to another one.

Related Topic