This documentation is archived and is not being maintained.
Delegate Methods
Visual Studio 2010
The Delegate type exposes the following members.
| Name | Description | |
|---|---|---|
|
Clone | Creates a shallow copy of the delegate. |
|
Combine(array<Delegate>) | Concatenates the invocation lists of an array of delegates. |
|
Combine(Delegate, Delegate) | Concatenates the invocation lists of two delegates. |
|
CombineImpl | Concatenates the invocation lists of the specified multicast (combinable) delegate and the current multicast (combinable) delegate. |
|
CreateDelegate(Type, MethodInfo) | Creates a delegate of the specified type to represent the specified static method. |
|
CreateDelegate(Type, Object, MethodInfo) | Creates a delegate of the specified type that represents the specified static or instance method, with the specified first argument. |
|
CreateDelegate(Type, Object, String) | Creates a delegate of the specified type that represents the specified instance method to invoke on the specified class instance. |
|
CreateDelegate(Type, MethodInfo, Boolean) | Creates a delegate of the specified type to represent the specified static method, with the specified behavior on failure to bind. |
|
CreateDelegate(Type, Type, String) | Creates a delegate of the specified type that represents the specified static method of the specified class. |
|
CreateDelegate(Type, Object, MethodInfo, Boolean) | Creates a delegate of the specified type that represents the specified static or instance method, with the specified first argument and the specified behavior on failure to bind. |
|
CreateDelegate(Type, Object, String, Boolean) | Creates a delegate of the specified type that represents the specified instance method to invoke on the specified class instance with the specified case-sensitivity. |
|
CreateDelegate(Type, Type, String, Boolean) | Creates a delegate of the specified type that represents the specified static method of the specified class, with the specified case-sensitivity. |
|
CreateDelegate(Type, Object, String, Boolean, Boolean) | Creates a delegate of the specified type that represents the specified instance method to invoke on the specified class instance, with the specified case-sensitivity and the specified behavior on failure to bind. |
|
CreateDelegate(Type, Type, String, Boolean, Boolean) | Creates a delegate of the specified type that represents the specified static method of the specified class, with the specified case-sensitivity and the specified behavior on failure to bind. |
|
DynamicInvoke | Dynamically invokes (late-bound) the method represented by the current delegate. |
|
DynamicInvokeImpl | Dynamically invokes (late-bound) the method represented by the current delegate. |
|
Equals | Determines whether the specified object and the current delegate are of the same type and share the same targets, methods, and invocation list. (Overrides Object::Equals(Object).) |
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) In XNA Framework, this member is overridden by Finalize(). |
|
GetHashCode | Returns a hash code for the delegate. (Overrides Object::GetHashCode().) |
|
GetInvocationList | Returns the invocation list of the delegate. |
|
GetMethodImpl | Gets the static method represented by the current delegate. |
|
GetObjectData | Not supported. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Remove | Removes the last occurrence of the invocation list of a delegate from the invocation list of another delegate. |
|
RemoveAll | Removes all occurrences of the invocation list of a delegate from the invocation list of another delegate. |
|
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.) |
Show: