SortVersion Constructor (Int32, Guid)

.NET Framework (current version)
 

Creates a new instance of the SortVersion class.

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

public:
SortVersion(
	int fullVersion,
	Guid sortId
)

Parameters

fullVersion
Type: System::Int32

A version number.

sortId
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
Show: