Version.Major 屬性

定義

取得目前 Version 物件的版本號碼之主要元件值。Gets the value of the major component of the version number for the current Version object.

public:
 property int Major { int get(); };
public int Major { get; }
member this.Major : int
Public ReadOnly Property Major As Integer

屬性值

主要版本號碼。The major version number.

備註

例如,如果版本號碼是6.2,則主要版本為6。For example, if the version number is 6.2, the major version is 6.

適用於