IClassificationFormatMap.SetTextProperties Method

Definition

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

Parameters

classificationType
IClassificationType

The IClassificationType.

properties
TextFormattingRunProperties

The new properties.

Remarks

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

Only parts of the properties that are different than the inherited values of classificationType's properties are stored. If you wish to override all properties of classificationType explicitly, please use SetExplicitTextProperties(IClassificationType, TextFormattingRunProperties).

Applies to