Delen via


DiffFile.Create Method (Stream, Encoding, DiffOptions)

Creates a DiffFile for the specified stream.

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

Syntax

'Declaration
Public Shared Function Create ( _
    stream As Stream, _
    encoding As Encoding, _
    diffOptions As DiffOptions _
) As DiffFile
public static DiffFile Create(
    Stream stream,
    Encoding encoding,
    DiffOptions diffOptions
)
public:
static DiffFile^ Create(
    Stream^ stream, 
    Encoding^ encoding, 
    DiffOptions^ diffOptions
)
static member Create : 
        stream:Stream * 
        encoding:Encoding * 
        diffOptions:DiffOptions -> DiffFile
public static function Create(
    stream : Stream, 
    encoding : Encoding, 
    diffOptions : DiffOptions
) : DiffFile

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

DiffFile Class

Create Overload

Microsoft.TeamFoundation.VersionControl.Common Namespace