次の方法で共有


Version.Major プロパティ

このインスタンスのバージョン番号のメジャー構成要素の値を取得します。

Public ReadOnly Property Major As Integer
[C#]
public int Major {get;}
[C++]
public: __property int get_Major();
[JScript]
public function get Major() : int;

プロパティ値

メジャー バージョン番号。

解説

たとえば、バージョン番号が 6.2 の場合、メジャー バージョンは 6 です。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET, Common Language Infrastructure (CLI) Standard

参照

Version クラス | Version メンバ | System 名前空間