VersionStamp Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
VersionStamp should be only used to compare versions returned by same API.
public value class VersionStamp : IEquatable<Microsoft::CodeAnalysis::VersionStamp>
public struct VersionStamp : IEquatable<Microsoft.CodeAnalysis.VersionStamp>
public readonly struct VersionStamp : IEquatable<Microsoft.CodeAnalysis.VersionStamp>
type VersionStamp = struct
Public Structure VersionStamp
Implements IEquatable(Of VersionStamp)
- Inheritance
-
VersionStamp
- Implements
Properties
Default |
Methods
Create() |
Creates a new instance of a VersionStamp. |
Create(DateTime) |
Creates a new instance of a version stamp based on the specified DateTime. |
Equals(Object) | |
Equals(VersionStamp) | |
GetHashCode() | |
GetNewerVersion() |
Gets a new VersionStamp that is guaranteed to be newer than its base one this should only be used for same item to move it to newer version |
GetNewerVersion(VersionStamp) |
compare two different versions and return either one of the versions if there is no collision, otherwise, create a new version that can be used later to compare versions between different items |
ToString() |
Returns the serialized text form of the VersionStamp. |
Operators
Equality(VersionStamp, VersionStamp) | |
Inequality(VersionStamp, VersionStamp) |