combit List & Label 27 - .NET Help
combit.Reporting.Dom Namespace / ProjectBase Class / ReplaceHit Event


In This Topic
    ReplaceHit Event
    In This Topic

    Event invoked by each hit in a replacement operation (see also Replace).

    Syntax
    'Declaration
     
    
    Public Event ReplaceHit As EventHandler(Of ReplaceEventArgs)
    public event EventHandler<ReplaceEventArgs> ReplaceHit
    public:
    event EventHandler<ReplaceEventArgs^>^ ReplaceHit
    Event Data

    The event handler receives an argument of type ReplaceEventArgs containing data related to this event. The following ReplaceEventArgs properties provide information specific to this event.

    PropertyDescription

    The action that should be applied for this hit (see also LlReplaceAction).

     

    The error that would occur if the replacement is not canceled.

     

    The string that should replace the value in OldText.

     

    The string that should be replaced by NewText.

     
    Requirements

    Platforms: Windows 8.1, Windows 10 (Version 20H2 - 21H2), Windows 11 (21H2), Windows Server 2012 - 2022

    See Also