Partager via


Event.Trigger<'Delegate,'Args> Method (F#)

Triggers the event using the given sender object and parameters. The sender object may be null.

Namespace/Module Path: Microsoft.FSharp.Control

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
member this.Trigger : obj * 'Args -> unit (requires delegate)

// Usage:
event.Trigger (sender, args)

Parameters

  • sender
    Type: obj

    The object triggering the event.

  • args
    Type: 'Args

    The parameters for the event.

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Reference

Control.Event<'Delegate,'Args> Class (F#)

Microsoft.FSharp.Control Namespace (F#)