Share via


DiffOptionFlags Enumeration

Diff option flags NOTE: This was copied almost verbatim from the old engine, because we already shipped this enumeration.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration DiffOptionFlags
[FlagsAttribute]
public enum DiffOptionFlags
[FlagsAttribute]
public enum class DiffOptionFlags
[<FlagsAttribute>]
type DiffOptionFlags
public enum DiffOptionFlags

Members

Member name Description
EnablePreambleHandling

IgnoreCase

IgnoreEndOfFileEndOfLineDifference Ignores the end of line difference in the last line of the file if the differences are that one of the files has an end of line (return.)

IgnoreEndOfLineDifference

IgnoreKanaType

IgnoreLeadingAndTrailingWhiteSpace

IgnoreNonSpace

IgnoreSymbols

IgnoreWhiteSpace

IgnoreWidth

None

ScanFullFileForEncodingDetection When true, the file will be scanned for encoding detection.

ThrowIfDetectedEncodingMismatch Throws if the file cannot be read using the encoding we detected.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Common Namespace