Beispiel #1
0
 public void CreateChangeLog(ChangeSink changeSink, bool fForward, bool fBackward)
 {
     Interop.IHTMLChangeSink pChangeSink = changeSink;
     Interop.IHTMLChangeLog  ppChangeLog;
     mc.CreateChangeLog(pChangeSink, out ppChangeLog, (fForward ? 1 : 0), (fBackward ? 1 : 0));
 }
Beispiel #2
0
 /// <summary>
 /// Creates a change log for a markup container and registers the change log to receive notice of any changes that take place in the container.
 /// </summary>
 /// <remarks>
 /// <para>
 /// To prevent this method from returning an error, set either fForward or fBackward, or both, to TRUE. These two parameters determine the kind of information that is stored in the change log. Forward information lets you replay a change (using IHTMLChangePlayback::ExecChange). Backward information lets you reverse a change.
 /// </para>
 /// <para>
 /// To stop receiving change notifications, call <see cref="ReleaseLog"/>.
 /// </para>
 /// Version Information: This method is not support in NetRix Standard.
 /// </remarks>
 /// <see cref="GetNextChange"/>
 /// <param name="forward">Request forward information in your change log.</param>
 /// <param name="backward">Request backward information in your change log.</param>
 public void CreateLog(bool forward, bool backward)
 {
     mc2.CreateChangeLog(sink, out clog, forward ? 1 :0, backward ? 1 : 0);
 }