VB Code:
Imports TypeAlias = System.String '.... Public Sub Test(Info as TypeAlias) MessageBox.Show(Info) End Sub
Is this common knowlege?
I have only seen it used once in a C# project (using Alias = System.String;) that I was converting.
Printable View
VB Code:
Imports TypeAlias = System.String '.... Public Sub Test(Info as TypeAlias) MessageBox.Show(Info) End Sub
Is this common knowlege?
I have only seen it used once in a C# project (using Alias = System.String;) that I was converting.
Common knowledge about namespace aliases? Yes, somewhat common.
Usage? Well, this particular case, not so common.
Am I misunderstanding the intent of this feature? This is basicly how it was used in the C# project.
Defining hWnd as a alias of System.IntPtr