IVsFileMergeService::OpenAndRegisterMergeWindow Method (String^, String^, String^, String^, String^, String^, String^, String^, String^, String^, String^, String^, String^, String^, String^, Int32)

 

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)

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,
	[OutAttribute] int% cookie
)

Parameters

leftFileMoniker
Type: System::String^

[in] The left file path.

rightFileMoniker
Type: System::String^

[in] The right file path.

baseFileMoniker
Type: System::String^

[in] The base file path.

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.

Return to top
Show: