ランタイムでGridDesktopのバージョンを検索する
Contents
[
Hide
]
可能な使用シナリオ
時々、ランタイムでGridDesktopのバージョンを見つけることが重要です。たとえば、正しいバージョンを使用していることを確認したい場合や、アプリケーションをデバッグして使用しているGridDesktopのバージョンを知りたい場合などです。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"); |