Freigeben über


IClassificationFormatMap.SwapPriorities Method

Switches the priorities of two IClassificationType objects.

Namespace:  Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
Sub SwapPriorities ( _
    firstType As IClassificationType, _
    secondType As IClassificationType _
)
void SwapPriorities(
    IClassificationType firstType,
    IClassificationType secondType
)
void SwapPriorities(
    IClassificationType^ firstType, 
    IClassificationType^ secondType
)
abstract SwapPriorities : 
        firstType:IClassificationType * 
        secondType:IClassificationType -> unit 
function SwapPriorities(
    firstType : IClassificationType, 
    secondType : IClassificationType
)

Parameters

Remarks

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

.NET Framework Security

See Also

Reference

IClassificationFormatMap Interface

Microsoft.VisualStudio.Text.Classification Namespace