delegate-type 委托类型
This constructs a new instance of the delegate type using the constructor MyDelegate (object, IntPtr).
通过使用MyDelegate (object, IntPtr)构造器,就构建了一个委托类型的新实例。
Whenever a new set of argument types or return value type is needed, a new delegate type must be declared.
当需要一组新的引数型别或传回值型别时,必须宣告一个新的传回型别。
You can use the delegate type to declare a variable that can refer to any method with the same signature as the delegate.
可以使用委托类型来声明一个变量,该变量可以引用与委托签名相同的所有方法。
应用推荐