Mega Code Archive

 
Categories / VB.Net / Reflection
 

Create a Type object that represents a ByRef parameter of type Example

Imports System Imports System.Reflection Imports Microsoft.VisualBasic Public Class Example     Public Shared Sub Main()         Dim t = GetType(Example).MakeByRefType()         Console.WriteLine(vbCrLf & "ByRef Example: " & t.ToString())     End Sub End Class