Sdílet prostřednictvím


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 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

Version Information

F# Runtime

Supported in: 2.0, 4.0

Silverlight

Supported in: 3

See Also

Reference

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

Microsoft.FSharp.Control Namespace (F#)