Yeah, I just tried a simple test, and it doesn’t work:
Delegate Foo(x as integer, y as integer)
Method Bar(x as integer, y as integer)
App.Open
DoDelgate (addressOf Bar)
Sub DoDelegate(f as Foo)
dim t as Introspection.TypeInfo = Introspection.GetType(d)
dim a() as Introspection.AttributeInfo = t.GetAttributes
dim c() as Introspection.ConstructorInfo = t.GetConstructors
dim m() as Introspection.MethodInfo = t.GetMethods
dim p() as Introspection.PropertyInfo = t.GetProperties
break
MsgBox t.FullName
[quote=399308:@Michael Diehr]Yeah, I just tried a simple test, and it doesn’t work:
Delegate Foo(x as integer, y as integer)
Method Bar(x as integer, y as integer)
App.Open
DoDelgate (addressOf Bar)
Sub DoDelegate(f as Foo)
dim t as Introspection.TypeInfo = Introspection.GetType(d)
dim a() as Introspection.AttributeInfo = t.GetAttributes
dim c() as Introspection.ConstructorInfo = t.GetConstructors
dim m() as Introspection.MethodInfo = t.GetMethods
dim p() as Introspection.PropertyInfo = t.GetProperties
break
MsgBox t.FullName