SortVersion Constructor (Int32, Guid)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Creates a new instance of the SortVersion class.

Namespace:   System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

Public Sub New (
	fullVersion As Integer,
	sortId As Guid


Type: System.Int32

A version number.

Type: System.Guid

A sort ID.

This constructor instantiates a SortVersion object with the specified version and sort ID. The fullVersion argument is assigned to the FullVersion property. The sortId argument is assigned to the SortId property.

This constructor is useful for recreating a SortVersion object from data that has been serialized or saved. This version can then be compared with the current application version to determine whether the version of Unicode used to display and order the application's strings is available.

.NET Framework
Available since 4.5
Return to top