Represents the latest valid version in the repository.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
    Microsoft.TeamFoundation.VersionControl.Client.LatestVersionSpec
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public NotInheritable Class LatestVersionSpec _
    Inherits VersionSpec
public sealed class LatestVersionSpec : VersionSpec
public ref class LatestVersionSpec sealed : public VersionSpec
[<Sealed>]
type LatestVersionSpec =  
    class 
        inherit VersionSpec 
    end
public final class LatestVersionSpec extends VersionSpec
The LatestVersionSpec type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | DisplayString | Gets the string representation of the version specification. (Inherited from VersionSpec.) | 
| .gif) .gif) | Instance | Singleton instance for the latest version specifier. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether this LatestVersionSpec instance is equal to the specified instance. (Overrides Object.Equals(Object).) | 
| .gif) | Format | Formats a path by using the version specifier. (Inherited from VersionSpec.) | 
| .gif) | GetHashCode | Generates a hash code for this instance. (Overrides Object.GetHashCode().) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | ToString | Creates a user-readable string that describes the properties of a LatestVersionSpec object. (Overrides VersionSpec.ToString().) | 
Top
Fields
| Name | Description | |
|---|---|---|
| .gif) .gif) | Identifier | Identifier for this version specification in command-line usage. | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.