共用方式為


DateVersionSpec Class

Specifies a version based on a date/time stamp.

Inheritance Hierarchy

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

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

Syntax

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

The DateVersionSpec type exposes the following members.

Constructors

  Name Description
Public method DateVersionSpec

Top

Properties

  Name Description
Public property Date
Public property OriginalText

Top

Methods

  Name Description
Public method CompareTo (Overrides VersionSpec.CompareTo(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 (Overrides VersionSpec.GetHashCode().)
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