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

  • leftFileMoniker
    Type: String

    [in] The left file path.

  • rightFileMoniker
    Type: String

    [in] The right file path.

  • baseFileMoniker
    Type: String

    [in] The base file path.

  • resultFileMoniker
    Type: String

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

  • leftFileTag
    Type: String

    [in] The tag for the left file.

  • rightFileTag
    Type: String

    [in] The tag for the right file.

  • baseFileTag
    Type: String

    [in] The tag for the base file.

  • resultFileTag
    Type: String

    [in] The tag for the result file.

  • leftFileLabel
    Type: String

    [in] The label for the left file.

  • rightFileLabel
    Type: String

    [in] The label for the right file.

  • baseFileLabel
    Type: String

    [in] The label for the base file.

  • resultFileLabel
    Type: String

    [in] The label for the result file.

  • serverGuid
    Type: 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: 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: 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: 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