Delegate.Target Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the class instance on which the current delegate invokes the instance method.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.ObjectThe object on which the current delegate invokes the instance method, if the delegate represents an instance method; Nothing if the delegate represents a static method.
| Exception | Condition |
|---|---|
| MethodAccessException | Application code attempts to access this member late-bound, for example, by using the Type.InvokeMember method. |
Show: