IClassificationFormatMap.AddExplicitTextProperties IClassificationFormatMap.AddExplicitTextProperties IClassificationFormatMap.AddExplicitTextProperties IClassificationFormatMap.AddExplicitTextProperties Method

Definition

Overloads

AddExplicitTextProperties(IClassificationType, TextFormattingRunProperties) AddExplicitTextProperties(IClassificationType, TextFormattingRunProperties) AddExplicitTextProperties(IClassificationType, TextFormattingRunProperties) AddExplicitTextProperties(IClassificationType, TextFormattingRunProperties)

Adds a TextFormattingRunProperties to a new IClassificationType.

AddExplicitTextProperties(IClassificationType, TextFormattingRunProperties, IClassificationType) AddExplicitTextProperties(IClassificationType, TextFormattingRunProperties, IClassificationType) AddExplicitTextProperties(IClassificationType, TextFormattingRunProperties, IClassificationType) AddExplicitTextProperties(IClassificationType, TextFormattingRunProperties, IClassificationType)

Adds a TextFormattingRunProperties to a new IClassificationType.

AddExplicitTextProperties(IClassificationType, TextFormattingRunProperties) AddExplicitTextProperties(IClassificationType, TextFormattingRunProperties) AddExplicitTextProperties(IClassificationType, TextFormattingRunProperties) AddExplicitTextProperties(IClassificationType, TextFormattingRunProperties)

Adds a TextFormattingRunProperties to a new IClassificationType.

public:
 void AddExplicitTextProperties(Microsoft::VisualStudio::Text::Classification::IClassificationType ^ classificationType, Microsoft::VisualStudio::Text::Formatting::TextFormattingRunProperties ^ properties);
public void AddExplicitTextProperties (Microsoft.VisualStudio.Text.Classification.IClassificationType classificationType, Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties properties);
abstract member AddExplicitTextProperties : Microsoft.VisualStudio.Text.Classification.IClassificationType * Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties -> unit
Public Sub AddExplicitTextProperties (classificationType As IClassificationType, properties As TextFormattingRunProperties)
Parameters
Exceptions

Remarks

Adding the text properties will cause the ClassificationFormatMappingChanged event to be sent.

classificationType has the highest priority.

If classificationType already exists in the map, then this is equivalent to SetTextProperties(IClassificationType, TextFormattingRunProperties)(classificationType, properties).

AddExplicitTextProperties(IClassificationType, TextFormattingRunProperties, IClassificationType) AddExplicitTextProperties(IClassificationType, TextFormattingRunProperties, IClassificationType) AddExplicitTextProperties(IClassificationType, TextFormattingRunProperties, IClassificationType) AddExplicitTextProperties(IClassificationType, TextFormattingRunProperties, IClassificationType)

Adds a TextFormattingRunProperties to a new IClassificationType.

public:
 void AddExplicitTextProperties(Microsoft::VisualStudio::Text::Classification::IClassificationType ^ classificationType, Microsoft::VisualStudio::Text::Formatting::TextFormattingRunProperties ^ properties, Microsoft::VisualStudio::Text::Classification::IClassificationType ^ priority);
public void AddExplicitTextProperties (Microsoft.VisualStudio.Text.Classification.IClassificationType classificationType, Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties properties, Microsoft.VisualStudio.Text.Classification.IClassificationType priority);
abstract member AddExplicitTextProperties : Microsoft.VisualStudio.Text.Classification.IClassificationType * Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties * Microsoft.VisualStudio.Text.Classification.IClassificationType -> unit
Public Sub AddExplicitTextProperties (classificationType As IClassificationType, properties As TextFormattingRunProperties, priority As IClassificationType)
Parameters
priority
IClassificationType IClassificationType IClassificationType IClassificationType

The IClassificationType that defines the relative priority of classificationType.

Exceptions

Remarks

Adding the text properties will cause the ClassificationFormatMappingChanged event to be sent.

The priority of classificationType will be lower than that of priority.

If classificationType already exists in the map, then this is equivalent to SetTextProperties(IClassificationType, TextFormattingRunProperties)(classificationType, properties).

Applies to