Share via


IClassificationFormatMap.SwapPriorities Method

Definition

Switches the priorities of two IClassificationType objects.

public:
 void SwapPriorities(Microsoft::VisualStudio::Text::Classification::IClassificationType ^ firstType, Microsoft::VisualStudio::Text::Classification::IClassificationType ^ secondType);
public:
 void SwapPriorities(Microsoft::VisualStudio::Text::Classification::IClassificationType ^ firstType, Microsoft::VisualStudio::Text::Classification::IClassificationType ^ secondType);
void SwapPriorities(Microsoft::VisualStudio::Text::Classification::IClassificationType const & firstType, Microsoft::VisualStudio::Text::Classification::IClassificationType const & secondType);
public void SwapPriorities (Microsoft.VisualStudio.Text.Classification.IClassificationType firstType, Microsoft.VisualStudio.Text.Classification.IClassificationType secondType);
abstract member SwapPriorities : Microsoft.VisualStudio.Text.Classification.IClassificationType * Microsoft.VisualStudio.Text.Classification.IClassificationType -> unit
Public Sub SwapPriorities (firstType As IClassificationType, secondType As IClassificationType)

Parameters

firstType
IClassificationType

The first type.

secondType
IClassificationType

The second type.

Remarks

Changing the priority of an IClassificationType causes the ClassificationFormatMappingChanged event to be raised.

Applies to