EvalEntity Event
Fired every time an entity needs to be evaluated.
Syntax
public event OnEvalEntityHandler OnEvalEntity; public delegate void OnEvalEntityHandler(object sender, OfficedocEvalEntityEventArgs e); public class OfficedocEvalEntityEventArgs : EventArgs { public string Entity { get; } public string Value { get; set; } }
Public Event OnEvalEntity As OnEvalEntityHandler Public Delegate Sub OnEvalEntityHandler(sender As Object, e As OfficedocEvalEntityEventArgs) Public Class OfficedocEvalEntityEventArgs Inherits EventArgs Public ReadOnly Property Entity As String Public Property Value As String End Class
Remarks
The Value parameter contains a suggested value for the entity (normally the entity name itself). You may set Value to a value of your choice, which will be later passed into the text stream.