Reviewing Delegate Members
Languages like C++ and Object Pascal support function pointers (also referred to as procedural types in Pascal) as simple types. Delegates were subclassed from the Object class and were implemented to support dynamic programming using procedure addresses to implement event handlers. Delegate is a subclass of Object in Visual Basic .NET. Table 9.1 lists and describes public members of Delegate.
Member | Description |
---|---|
Shared Methods | |
Combine | Combines the delegate invocation lists |
CreateDelegate | Creates a delegate of the indicated type |
Remove | Removes the delegate from the invocation list |
Shared Operators | |
op_Equality | Tests for equality |
op_Inequality | Test for inequality |
Instance Properties | |
Method | Returns ... |
Get Visual Basic® .NET Unleashed 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.