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
filePath
Type: System.StringThe path of the file to use.
fileEncoding
Type: System.Text.EncodingThe character encoding of the file.
- diffOptions
Type: Microsoft.TeamFoundation.VersionControl.Common.DiffOptions
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Common.DiffFile
The DiffFile for the file.
.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.