DateVersionSpec Constructor (DateTime, String)

Initializes a new DateVersionSpec instance.

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

public DateVersionSpec(
	DateTime date,
	string originalText
)

Parameters

date
Type: System.DateTime

DateTime object to encapsulate.

originalText
Type: System.String

Original text input by the user.

Keeps track of the original text input by the user for error tracking if an error occurs in the date that is reported.

Show: