AgnosticProjectProperties.Versions.VersionStringToMajorMinor Method
Parses the provided version string into numeric major and minor parts.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Shared Sub VersionStringToMajorMinor ( _
version As String, _
<OutAttribute> ByRef majorVersion As Integer, _
<OutAttribute> ByRef minorVersion As Integer _
)
public static void VersionStringToMajorMinor(
string version,
out int majorVersion,
out int minorVersion
)
public:
static void VersionStringToMajorMinor(
String^ version,
[OutAttribute] int% majorVersion,
[OutAttribute] int% minorVersion
)
static member VersionStringToMajorMinor :
version:string *
majorVersion:int byref *
minorVersion:int byref -> unit
public static function VersionStringToMajorMinor(
version : String,
majorVersion : int,
minorVersion : int
)
Parameters
- version
Type: System.String
A project version string.
- majorVersion
Type: System.Int32%
An integer that represents the major part of the version.
- minorVersion
Type: System.Int32%
An integer that represents the minor part of the version.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.