在运行时查找GridDesktop版本
Contents
[
Hide
]
可能的使用场景
有时,在运行时找到GridDesktop版本很重要。例如,您想确保您正在使用正确的版本,或者您正在调试应用程序,想要知道当前使用的GridDesktop版本。GridDesktop提供Aspose.Cells.GridDesktop.GridDesktop.GetVersion()方法,该方法在运行时返回GridDesktop版本。
在运行时查找GridDesktop版本
以下示例代码在运行时查找GridDesktop版本。截图显示了执行此示例代码的结果,供参考。
示例代码
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET | |
//Get the version number of GridDesktop | |
string version = Aspose.Cells.GridDesktop.GridDesktop.GetVersion(); | |
//Show the version number in message box | |
MessageBox.Show("GridDesktop Version: " + version, "GridDesktop Version"); |