In my module, I have this code..
But I have this error message:
'Me' is valid only within an instance method.
What I'm trying to do is pass the value of 'Me' (Me.Id, Me.Message) and get the return ID from the Function. how can I do that? do you have sample of code please?
Code:
Public Shared Function GetNumber() As Integer
Dim num As Integer= 0
num = TestDalc.GetNumber(Me)
Return num
End Function'Me' is valid only within an instance method.
What I'm trying to do is pass the value of 'Me' (Me.Id, Me.Message) and get the return ID from the Function. how can I do that? do you have sample of code please?