Delen via


DiffFile.Create Method (String, Encoding, DiffOptions)

Creates a DiffFile for the specified file.

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

Syntax

'Declaration
Public Shared Function Create ( _
    filePath As String, _
    fileEncoding As Encoding, _
    diffOptions As DiffOptions _
) As DiffFile
public static DiffFile Create(
    string filePath,
    Encoding fileEncoding,
    DiffOptions diffOptions
)
public:
static DiffFile^ Create(
    String^ filePath, 
    Encoding^ fileEncoding, 
    DiffOptions^ diffOptions
)
static member Create : 
        filePath:string * 
        fileEncoding:Encoding * 
        diffOptions:DiffOptions -> DiffFile
public static function Create(
    filePath : String, 
    fileEncoding : Encoding, 
    diffOptions : DiffOptions
) : DiffFile

Parameters

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Common.DiffFile
The DiffFile for the file.

.NET Framework Security

See Also

Reference

DiffFile Class

Create Overload

Microsoft.TeamFoundation.VersionControl.Common Namespace