Delegate Class
Represents a delegate, which is a data structure that refers to a static method or to a class instance and an instance method of that class.
Definition
Members Table
The following table lists the members exposed by the Delegate object. Click a tab on the left to choose the type of member you want to view.
Methods
| Method | Description |
|---|
| Clone | Creates a shallow copy of the delegate. |
| Combine | Overloaded. Concatenates the invocation lists of the specified multicast (combinable) delegates. |
| Delegate | Overloaded. Initializes a new instance of Delegate. |
| Equals | Overloaded. Compares two objects to determine whether they share the same target, method, and invacation list. |
| GetHashCode | Overriden. Returns a hash code for the delegate. |
| GetInvocationList | Returns the invocation list of the delegate. |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object) |
| Remove | Removes the last occurrence of the invocation list of a delegate from the invocation list of another delegate. |
| RemoveAll | |
| RemoveImpl | Removes the invocation list of a delegate from the invocation list of another delegate. |
| ToString | Returns a String that represents the current Object. (Inherited from Object) |
Operators
| Operator | Description |
|---|
| operator != | Determines whether the specified delegates are not equal. |
| operator == | Determines whether the specified delegates are equal. |
Inheritance Hierarchy
Object
Class Information
| Namespace | System |
|---|
| Flash Library | corlib.scl |
|---|
| Flash Library Version | 2.0.0.2466 |
|---|
| Silverlight Library | System.Windows.Forms.dll |
|---|