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.StringThe path of the local file for which to create a diff item.
encoding
Type: System.Int32The encoding to apply to the diff item.
lastModifiedDate
Type: System.DateTimeThe date and time of the last saved changes.
isTemporary
Type: System.BooleanTrue if the local file is a temporary file; otherwise, false.
.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.