Share via


DiffItemLocalFile Constructor

Initializes a new DiffItemLocalFile instance.

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

Syntax

'Declaration
Public Sub New ( _
    fileName As String, _
    encoding As Integer, _
    lastModifiedDate As DateTime, _
    isTemporary As Boolean _
)
public DiffItemLocalFile(
    string fileName,
    int encoding,
    DateTime lastModifiedDate,
    bool isTemporary
)
public:
DiffItemLocalFile(
    String^ fileName, 
    int encoding, 
    DateTime lastModifiedDate, 
    bool isTemporary
)
new : 
        fileName:string * 
        encoding:int * 
        lastModifiedDate:DateTime * 
        isTemporary:bool -> DiffItemLocalFile
public function DiffItemLocalFile(
    fileName : String, 
    encoding : int, 
    lastModifiedDate : DateTime, 
    isTemporary : boolean
)

Parameters

  • fileName
    Type: System.String

    The path of the local file for which to create a diff item.

  • encoding
    Type: System.Int32

    The encoding to apply to the diff item.

  • lastModifiedDate
    Type: System.DateTime

    The date and time of the last saved changes.

  • isTemporary
    Type: System.Boolean

    True if the local file is a temporary file; otherwise, false.

.NET Framework Security

See Also

Reference

DiffItemLocalFile Class

Microsoft.TeamFoundation.VersionControl.Client Namespace