Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.IClassificationTypeThe first type.
secondType
Type: Microsoft.VisualStudio.Text.Classification.IClassificationTypeThe 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.