Specifies a version based on a date/time stamp.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
    Microsoft.TeamFoundation.VersionControl.Client.DateVersionSpec
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public NotInheritable Class DateVersionSpec _
    Inherits VersionSpec
public sealed class DateVersionSpec : VersionSpec
public ref class DateVersionSpec sealed : public VersionSpec
[<Sealed>]
type DateVersionSpec =  
    class
        inherit VersionSpec
    end
public final class DateVersionSpec extends VersionSpec
The DateVersionSpec type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | DateVersionSpec(DateTime) | Initializes a new DateVersionSpec instance. | 
| .gif) | DateVersionSpec(DateTime, String) | Initializes a new DateVersionSpec instance. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Date | Gets or sets the date. | 
| .gif) | DisplayString | Gets the string representation of the version specification. (Inherited from VersionSpec.) | 
| .gif) | OriginalText | Gets or sets the original text. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether this DateVersionSpec instance is equal to the specified instance. (Overrides Object.Equals(Object).) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from 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) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ToString | Creates a user-readable string that describes the properties of a DateVersionSpec object. (Overrides VersionSpec.ToString().) | 
Top
Fields
| Name | Description | |
|---|---|---|
| .gif) .gif) | Identifier | Identifier for this version spec 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.