Share via


IVsFileMergeService.OpenAndRegisterMergeWindow Method

Opens a three way merge window to perform a three way merge operation.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Function OpenAndRegisterMergeWindow ( _
    leftFileMoniker As String, _
    rightFileMoniker As String, _
    baseFileMoniker As String, _
    resultFileMoniker As String, _
    leftFileTag As String, _
    rightFileTag As String, _
    baseFileTag As String, _
    resultFileTag As String, _
    leftFileLabel As String, _
    rightFileLabel As String, _
    baseFileLabel As String, _
    resultFileLabel As String, _
    serverGuid As String, _
    leftFileSpec As String, _
    rightFileSpec As String, _
    <OutAttribute> ByRef cookie As Integer _
) As IVsWindowFrame
IVsWindowFrame OpenAndRegisterMergeWindow(
    string leftFileMoniker,
    string rightFileMoniker,
    string baseFileMoniker,
    string resultFileMoniker,
    string leftFileTag,
    string rightFileTag,
    string baseFileTag,
    string resultFileTag,
    string leftFileLabel,
    string rightFileLabel,
    string baseFileLabel,
    string resultFileLabel,
    string serverGuid,
    string leftFileSpec,
    string rightFileSpec,
    out int cookie
)
IVsWindowFrame^ OpenAndRegisterMergeWindow(
    [InAttribute] String^ leftFileMoniker, 
    [InAttribute] String^ rightFileMoniker, 
    [InAttribute] String^ baseFileMoniker, 
    [InAttribute] String^ resultFileMoniker, 
    [InAttribute] String^ leftFileTag, 
    [InAttribute] String^ rightFileTag, 
    [InAttribute] String^ baseFileTag, 
    [InAttribute] String^ resultFileTag, 
    [InAttribute] String^ leftFileLabel, 
    [InAttribute] String^ rightFileLabel, 
    [InAttribute] String^ baseFileLabel, 
    [InAttribute] String^ resultFileLabel, 
    [InAttribute] String^ serverGuid, 
    [InAttribute] String^ leftFileSpec, 
    [InAttribute] String^ rightFileSpec, 
    [OutAttribute] int% cookie
)
abstract OpenAndRegisterMergeWindow : 
        leftFileMoniker:string * 
        rightFileMoniker:string * 
        baseFileMoniker:string * 
        resultFileMoniker:string * 
        leftFileTag:string * 
        rightFileTag:string * 
        baseFileTag:string * 
        resultFileTag:string * 
        leftFileLabel:string * 
        rightFileLabel:string * 
        baseFileLabel:string * 
        resultFileLabel:string * 
        serverGuid:string * 
        leftFileSpec:string * 
        rightFileSpec:string * 
        cookie:int byref -> IVsWindowFrame
function OpenAndRegisterMergeWindow(
    leftFileMoniker : String, 
    rightFileMoniker : String, 
    baseFileMoniker : String, 
    resultFileMoniker : String, 
    leftFileTag : String, 
    rightFileTag : String, 
    baseFileTag : String, 
    resultFileTag : String, 
    leftFileLabel : String, 
    rightFileLabel : String, 
    baseFileLabel : String, 
    resultFileLabel : String, 
    serverGuid : String, 
    leftFileSpec : String, 
    rightFileSpec : String, 
    cookie : int
) : IVsWindowFrame

Parameters

  • resultFileMoniker
    Type: System.String

    [in] The result file path where the merge results are to be stored.

  • leftFileTag
    Type: System.String

    [in] The tag for the left file.

  • rightFileTag
    Type: System.String

    [in] The tag for the right file.

  • baseFileTag
    Type: System.String

    [in] The tag for the base file.

  • resultFileTag
    Type: System.String

    [in] The tag for the result file.

  • leftFileLabel
    Type: System.String

    [in] The label for the left file.

  • rightFileLabel
    Type: System.String

    [in] The label for the right file.

  • baseFileLabel
    Type: System.String

    [in] The label for the base file.

  • resultFileLabel
    Type: System.String

    [in] The label for the result file.

  • serverGuid
    Type: System.String

    [in] The server GUID for which this method is called (can be empty). This parameter is used to make special features, such as history and annotate, available.

  • leftFileSpec
    Type: System.String

    [in] The server file specification for the left file. This parameter is used to make special features, such as history and annotate, available.

  • rightFileSpec
    Type: System.String

    [in] The server file specification for the right file. This parameter is used to make special features, such as history and annotate, available.

  • cookie
    Type: System.Int32%

    [out] A cookie for the window that was created.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame
The IVsWindowFrame for the merge window that was created.

.NET Framework Security

See Also

Reference

IVsFileMergeService Interface

Microsoft.VisualStudio.Shell.Interop Namespace