共用方式為


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

  • 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

See Also

Reference

DateVersionSpec Class

DateVersionSpec Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace