共用方式為


IVsDifferenceService Interface

Definition

Opens a window in Visual Studio that compares two files.

public interface class IVsDifferenceService
public interface class IVsDifferenceService
__interface IVsDifferenceService
[System.Runtime.InteropServices.Guid("E20E53BE-8B7A-408F-AEA7-C0AAD6D1B946")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsDifferenceService
[<System.Runtime.InteropServices.Guid("E20E53BE-8B7A-408F-AEA7-C0AAD6D1B946")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsDifferenceService = interface
Public Interface IVsDifferenceService
Attributes

Methods

OpenComparisonWindow(String, String)

Opens and displays a file comparison window in Visual Studio with default labels and no additional roles.

OpenComparisonWindow2(String, String, String, String, String, String, String, String, UInt32)

Opens and displays a file comparison window in Visual Studio.

OpenComparisonWindowFromCommandLineArguments(String)

Opens and displays a file comparison window in Visual Studio, parsing the arguments parameter to extract the left and right files, and the labels and roles (using the default labels and roles if none are specified explicitly).

Applies to