IVsMergeableUIItem::GetMergingPriority Method (Int32)

 

Returns the merging priority.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int GetMergingPriority(
	[OutAttribute] int% piMergingPriority
)

Parameters

piMergingPriority
Type: System::Int32

[out] Priority

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

HRESULT IVsMergeableUIItem::GetMergingPriority(
   [out] long *piMergingPriority
);

The merging priority is used to resolve conflicts. The higher the priority number, the more preference it receives.

Guidelines:

- If this is a Microsoft product, piMergingPriority should be 0x1000 or greater.

- If yours is the primary package to be defining the marker, use 0x2000 or greater.

- If you are not doing any localization, piMergingPriority should be negative.

Return to top
Show: