IClassificationFormatMap.SwapPriorities Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.