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
stream
Type: System.IO.StreamThe stream to use.
encoding
Type: System.Text.EncodingThe encoding of characters in the stream.
- diffOptions
Type: Microsoft.TeamFoundation.VersionControl.Common.DiffOptions
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Common.DiffFile
The DiffFile for the stream.
.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.