IVsMergeableUIItem::GetMergingPriority Method (Int32)
Visual Studio 2015
Returns the merging priority.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- piMergingPriority
-
Type:
System::Int32
[out] Priority
Return Value
Type: System::Int32If 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.
Show: