Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Delegate Methods

Delegate Methods

The Delegate type exposes the following members.

  Name Description
Public method Supported by the XNA Framework Clone Creates a shallow copy of the delegate.
Public method Static member Supported by Portable Class Library Combine(Delegate[]) Concatenates the invocation lists of an array of delegates.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Combine(Delegate, Delegate) Concatenates the invocation lists of two delegates.
Protected method Supported by the XNA Framework CombineImpl Concatenates the invocation lists of the specified multicast (combinable) delegate and the current multicast (combinable) delegate.
Public method Static member Supported by Portable Class Library CreateDelegate(Type, MethodInfo) Creates a delegate of the specified type to represent the specified static method.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library CreateDelegate(Type, Object, MethodInfo) Creates a delegate of the specified type that represents the specified static or instance method, with the specified first argument.
Public method Static member CreateDelegate(Type, Object, String) Creates a delegate of the specified type that represents the specified instance method to invoke on the specified class instance.
Public method Static member 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.
Public method Static member CreateDelegate(Type, Type, String) Creates a delegate of the specified type that represents the specified static method of the specified class.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Supported by Portable Class Library DynamicInvoke Dynamically invokes (late-bound) the method represented by the current delegate.
Protected method DynamicInvokeImpl Dynamically invokes (late-bound) the method represented by the current delegate.
Public method Supported by the XNA Framework Supported by Portable Class Library 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).)
Protected method Supported by the XNA Framework 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().
Public method Supported by the XNA Framework Supported by Portable Class Library GetHashCode Returns a hash code for the delegate. (Overrides Object.GetHashCode().)
Public method Supported by the XNA Framework Supported by Portable Class Library GetInvocationList Returns the invocation list of the delegate.
Protected method GetMethodImpl Gets the static method represented by the current delegate.
Public method GetObjectData Not supported.
Public method Supported by the XNA Framework Supported by Portable Class Library GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Supported by the XNA Framework Supported by Portable Class Library MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Remove Removes the last occurrence of the invocation list of a delegate from the invocation list of another delegate.
Public method Static member Supported by Portable Class Library RemoveAll Removes all occurrences of the invocation list of a delegate from the invocation list of another delegate.
Protected method Supported by the XNA Framework RemoveImpl Removes the invocation list of a delegate from the invocation list of another delegate.
Public method Supported by the XNA Framework Supported by Portable Class Library ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Public Extension Method GetMethodInfo() Overloaded. Gets an object that represents the method represented by the specified delegate. (Defined by RuntimeReflectionExtensions.)
Public Extension Method GetMethodInfo() Overloaded. (Defined by RuntimeReflectionExtensions.)
Top
Show:
© 2015 Microsoft