Name

TypeDelegator

Synopsis

Because System.Type is a MustInherit class, TypeDelegator simply wraps System.Type methods and provides the necessary implementations.

Public Class TypeDelegator : Inherits Type
' Public Constructors
   Public Sub New( ByVal delegatingType As Type) 
' Protected Constructors
   Protected Sub New() 
' Protected Instance Fields
   protected typeImpl As Type  
' Public Instance Properties
   Overrides Public ReadOnly Property Assembly As Assembly  
   Overrides Public ReadOnly Property AssemblyQualifiedName As String  
   Overrides Public ReadOnly Property BaseType As Type  
   Overrides Public ReadOnly Property FullName As String  
   Overrides Public ReadOnly Property GUID As Guid  
   Overrides Public ReadOnly Property Module As Module  
   Overrides Public ReadOnly Property Name As String  
   Overrides Public ReadOnly Property Namespace As String  
   Overrides Public ReadOnly Property TypeHandle As RuntimeTypeHandle  
   Overrides Public ReadOnly Property UnderlyingSystemType As Type  
' Public Instance Methods
   Overrides Public Function GetConstructors(
        ByVal bindingAttr As BindingFlags) As ConstructorInfo()  
   Overrides Public Function GetCustomAttributes(
        ByVal inherit As Boolean) As Object()  
   Overrides Public Function GetCustomAttributes(
        ByVal attributeType As Type, 
        ByVal inherit As Boolean) As Object()  
   Overrides Public Function GetElementType() As Type  
   Overrides Public Function GetEvent(ByVal name As String, 
        ByVal bindingAttr As BindingFlags) As EventInfo  
   Overrides Public Function GetEvents() As EventInfo() Overrides ...

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.