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)
Syntax
'Declaration
Public Sub New ( _
date As DateTime, _
originalText As String _
)
public DateVersionSpec(
DateTime date,
string originalText
)
public:
DateVersionSpec(
DateTime date,
String^ originalText
)
new :
date:DateTime *
originalText:string -> DateVersionSpec
public function DateVersionSpec(
date : DateTime,
originalText : String
)
Parameters
- date
Type: System.DateTime
DateTime object to encapsulate.
- originalText
Type: System.String
Original text input by the user.
Remarks
Keeps track of the original text input by the user for error tracking if an error occurs in the date that is reported.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.