Rediger

Del via


SortVersion(Int32, Guid) Constructor

Definition

Creates a new instance of the SortVersion class.

public:
 SortVersion(int fullVersion, Guid sortId);
public SortVersion (int fullVersion, Guid sortId);
new System.Globalization.SortVersion : int * Guid -> System.Globalization.SortVersion
Public Sub New (fullVersion As Integer, sortId As Guid)

Parameters

fullVersion
Int32

A version number.

sortId
Guid

A sort ID.

Remarks

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.

Applies to

See also