ServicePack Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the number of the installed service pack. The original version has the service pack number 0.
Syntax
public int ServicePack { get; }Public ReadOnly Property ServicePack As IntegerExamples
The following example records the installed product version including its service-pack level.
VersionInfo versionInfo = textControl.GetVersionInfo();
Console.WriteLine($"TX Text Control {versionInfo.Major}.{versionInfo.Minor} SP{versionInfo.ServicePack}");Dim versionInfo As VersionInfo = textControl.GetVersionInfo()
Console.WriteLine($"TX Text Control {versionInfo.Major}.{versionInfo.Minor} SP{versionInfo.ServicePack}")Limitations
Read only.