Share via


LatestVersionSpec Class

Specifies the latest version. No real parameters

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Server.VersionSpec
    Microsoft.TeamFoundation.VersionControl.Server.LatestVersionSpec

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
Public Class LatestVersionSpec _
    Inherits VersionSpec
public class LatestVersionSpec : VersionSpec
public ref class LatestVersionSpec : public VersionSpec
type LatestVersionSpec =  
    class 
        inherit VersionSpec 
    end
public class LatestVersionSpec extends VersionSpec

The LatestVersionSpec type exposes the following members.

Constructors

  Name Description
Public method LatestVersionSpec

Top

Properties

  Name Description
Public propertyStatic member DisplayString

Top

Methods

  Name Description
Public method CompareTo Compares two version specs. Sorts by type name followed by version data (Inherited from VersionSpec.)
Public method Equals (Inherited from VersionSpec.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode (Inherited from VersionSpec.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToChangeset (Overrides VersionSpec.ToChangeset(TeamFoundationRequestContext).)
Public method ToDBString (Overrides VersionSpec.ToDBString(TeamFoundationRequestContext).)
Public method ToString (Overrides Object.ToString().)

Top

Fields

  Name Description
Protected field m_useMappings (Inherited from VersionSpec.)

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.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Server Namespace