System.Delegate Members

The members of System.Delegate are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Initializes a delegate that invokes the specified instance method on the specified class instance.

Initializes a delegate that invokes the specified static method from the specified class.

Public Properties

[read-only]
MethodSystem.Reflection.MethodInfo.

Gets the method represented by the delegate.

[read-only]
Targetobject.

Gets the class instance on which the current delegate invokes the instance method.

Public Methods

Clone() : object

Creates a shallow copy of the delegate.

static
Combine(params Delegate[]) : Delegate

Concatenates the invocation lists of an array of delegates.

static
Combine(Delegate, Delegate) : Delegate

Concatenates the invocation lists of two delegates.

static
CreateDelegate(Type, System.Reflection.MethodInfo) : Delegate

Creates a delegate of the specified type to represent the specified static method.

static
CreateDelegate(Type, object, System.Reflection.MethodInfo) : Delegate

Creates a delegate of the specified type that represents the specified static or instance method, with the specified first argument.

static
CreateDelegate(Type, object, string) : Delegate

Creates a delegate of the specified type that represents the specified instance method to invoke on the specified class instance.

static
CreateDelegate(Type, System.Reflection.MethodInfo, bool) : Delegate

Creates a delegate of the specified type to represent the specified static method, with the specified behavior on failure to bind.

static
CreateDelegate(Type, Type, string) : Delegate

Creates a delegate of the specified type that represents the specified static method of the specified class.

static
CreateDelegate(Type, object, System.Reflection.MethodInfo, bool) : Delegate

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.

static
CreateDelegate(Type, object, string, bool) : Delegate

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.

static
CreateDelegate(Type, Type, string, bool) : Delegate

Creates a delegate of the specified type that represents the specified static method of the specified class, with the specified case-sensitivity.

static
CreateDelegate(Type, object, string, bool, bool) : Delegate

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.

static
CreateDelegate(Type, Type, string, bool, bool) : Delegate

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(params object[]) : object

Dynamically invokes (late-bound) the method represented by the current delegate.

override
Equals(object) : bool

Determines whether the specified object and the current delegate are of the same type and share the same targets, methods, and invocation list.

override
GetHashCode() : int

Returns a hash code for the delegate.

GetInvocationList() : Delegate[]

Returns the invocation list of the delegate.

GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Not supported.

static
Remove(Delegate, Delegate) : Delegate

Removes the last occurrence of the invocation list of a delegate from the invocation list of another delegate.

static
RemoveAll(Delegate, Delegate) : Delegate

Removes all occurrences of the invocation list of a delegate from the invocation list of another delegate.

Protected Methods

CombineImpl(Delegate) : Delegate

Concatenates the invocation lists of the specified multicast (combinable) delegate and the current multicast (combinable) delegate.

DynamicInvokeImpl(object[]) : object

Dynamically invokes (late-bound) the method represented by the current delegate.

GetMethodImpl() : System.Reflection.MethodInfo

Gets the static method represented by the current delegate.

RemoveImpl(Delegate) : Delegate

Removes the invocation list of a delegate from the invocation list of another delegate.

Public Operators

static
Equality(Delegate, Delegate)

Determines whether the specified delegates are equal.

static
Inequality(Delegate, Delegate)

Determines whether the specified delegates are not equal.