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
- firstType
Type: Microsoft.VisualStudio.Text.Classification.IClassificationType
The first type.
- secondType
Type: Microsoft.VisualStudio.Text.Classification.IClassificationType
The second type.
Remarks
Changing the priority of an IClassificationType causes the ClassificationFormatMappingChanged event to be raised.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.