Version Data Type
Version: Available or changed with runtime version 1.0.
Represents a version matching the format: Major.Minor.Build.Revision .
Static methods
The following methods are available on the Version data type.
Method name | Description |
---|---|
Create(Text) | Creates a version object from the provided string. The string should be in the format W.X.Y.Z, where W, X, Y and Z represent positive integers and where Y and Z are optional. If the input string is not in the expected format, an exception is thrown. |
Create(Integer, Integer [, Integer] [, Integer]) | Creates a version object from the major, minor, build and revision numbers provided. |
Instance methods
The following methods are available on instances of the Version data type.
Method name | Description |
---|---|
Build() | Gets the build number of the version. |
Major() | Gets the major number of the version. |
Minor() | Gets the minor number of the version. |
Revision() | Gets the revision number from the version. |
See Also
प्रतिक्रिया
https://aka.ms/ContentUserFeedback.
जल्द आ रहा है: 2024 के दौरान हम सामग्री के लिए फीडबैक तंत्र के रूप में GitHub मुद्दों को चरणबद्ध तरीके से समाप्त कर देंगे और इसे एक नई फीडबैक प्रणाली से बदल देंगे. अधिक जानकारी के लिए, देखें:के लिए प्रतिक्रिया सबमिट करें और देखें