Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: System.Reflection.Mock
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Sub AddEventHandler ( _
target As Object, _
handler As Delegate _
)
'Usage
Dim instance As EventInfo
Dim target As Object
Dim handler As Delegate
instance.AddEventHandler(target, handler)
public void AddEventHandler(
Object target,
Delegate handler
)
public:
void AddEventHandler(
Object^ target,
Delegate^ handler
)
member AddEventHandler :
target:Object *
handler:Delegate -> unit
public function AddEventHandler(
target : Object,
handler : Delegate
)
Parameters
- target
Type: Object
- handler
Type: Delegate
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.