Name

Binder

Synopsis

This type is used by the .NET runtime for method argument conversion. It is responsible for such things as determining whether it is permissible to pass a short to a method that takes a long parameter. If you need to override .NET’s default conversion rules, you could subclass this type (however, most programmers will never need to do this). For more details, see the .NET Framework SDK documentation on this type.

Public MustInherit Class Binder
                  ' Protected Constructors
   Protected Sub New() 
' Public Instance Methods
   MustInherit Public Function BindToField(
        ByVal bindingAttr As BindingFlags, 
        ByVal match As FieldInfo(), ByVal value As Object, 
        ByVal culture As System.Globalization.CultureInfo) As FieldInfo  
   MustInherit Public Function BindToMethod(
        ByVal bindingAttr As BindingFlags, 
        ByVal match As MethodBase(), 
        ByRef args As Object(), 
        ByVal modifiers As ParameterModifier(), 
        ByVal culture As System.Globalization.CultureInfo, 
        ByVal names As String(), 
        ByRef state As Object) As MethodBase  
   MustInherit Public Function ChangeType(
        ByVal value As Object, ByVal type As Type, 
        ByVal culture As System.Globalization.CultureInfo) As Object  
   MustInherit Public Sub ReorderArgumentArray(
        ByRef args As Object(), ByVal state As Object) 
   MustInherit Public Function SelectMethod(
        ByVal bindingAttr As BindingFlags, 
        ByVal match As MethodBase(), ByVal types As Type(), 
        ByVal modifiers As ParameterModifier()) As MethodBase  
   MustInherit Public Function SelectProperty( ByVal bindingAttr As BindingFlags, ...

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.