Share via


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

  • 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

See Also

Reference

AgnosticProjectProperties.Versions Class

Microsoft.Data.Schema.Build Namespace