Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

Delegate Methods

The methods of the Delegate class are listed here. For a complete list of Delegate class members, see the Delegate Members topic.

Public Methods

public methodClone Creates a shallow copy of the delegate.
public methodstatic (Shared in Visual Basic)Combine

Supported by the .NET Compact Framework.

Overloaded. Concatenates the invocation lists of the specified multicast (combinable) delegates.
public methodstatic (Shared in Visual Basic)CreateDelegate Overloaded. Creates a delegate of the specified type.
public methodDynamicInvoke Dynamically invokes (late-bound) the method represented by the current delegate.
public methodEquals

Supported by the .NET Compact Framework.

Overridden. Determines whether the specified object and the current singlecast (noncombinable) delegate share the same target, method, and invocation list.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Returns a hash code for the delegate.
public methodGetInvocationList

Supported by the .NET Compact Framework.

Returns the invocation list of the delegate.
public methodGetObjectData Implements the ISerializable interface and returns the data needed to serialize the delegate.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodstatic (Shared in Visual Basic)Remove

Supported by the .NET Compact Framework.

Removes the last occurrence of the invocation list of a delegate from the invocation list of another delegate.
public methodstatic (Shared in Visual Basic)RemoveAll Removes all occurrences of the invocation list of a delegate from the invocation list of another delegate.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodCombineImpl

Supported by the .NET Compact Framework.

Concatenates the invocation lists of the specified multicast (combinable) delegate and the current multicast (combinable) delegate.
protected methodDynamicInvokeImpl Dynamically invokes (late-bound) the method represented by the current delegate.
protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetMethodImpl Gets the static method represented by the current delegate.
protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.
protected methodRemoveImpl

Supported by the .NET Compact Framework.

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

See Also

Delegate Class | System Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.