ChangeTime Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets the date and time when the change has been made. The time is a Coordinated Universal Time (UTC).
Syntax
public DateTime ChangeTime { get; }Public ReadOnly Property ChangeTime As DateTimeExamples
The following example identifies revisions created during the current review day.
TrackedChange trackedChange = textControl.TrackedChanges.GetItem();
if (trackedChange == null)
{
return;
}
if (trackedChange.ChangeTime.Date == DateTime.Today)
{
trackedChange.ScrollTo();
}Dim trackedChange As TrackedChange = textControl.TrackedChanges.GetItem()
If trackedChange Is Nothing Then
Return
End If
If trackedChange.ChangeTime.Date = Date.Today Then
trackedChange.ScrollTo()
End If