Partilhar via


IVsMergeableUIItem.GetMergingPriority(Int32) Method

Definition

Returns the merging priority.

public:
 int GetMergingPriority([Runtime::InteropServices::Out] int % piMergingPriority);
int GetMergingPriority([Runtime::InteropServices::Out] int & piMergingPriority);
public int GetMergingPriority (out int piMergingPriority);
abstract member GetMergingPriority : int -> int
Public Function GetMergingPriority (ByRef piMergingPriority As Integer) As Integer

Parameters

piMergingPriority
Int32

[out] Priority

Returns

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

Remarks

COM Signature

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.

Applies to