IClassificationFormatMap.SetExplicitTextProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the explicit TextFormattingRunProperties of an IClassificationType.
public:
void SetExplicitTextProperties(Microsoft::VisualStudio::Text::Classification::IClassificationType ^ classificationType, Microsoft::VisualStudio::Text::Formatting::TextFormattingRunProperties ^ properties);
public void SetExplicitTextProperties (Microsoft.VisualStudio.Text.Classification.IClassificationType classificationType, Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties properties);
abstract member SetExplicitTextProperties : Microsoft.VisualStudio.Text.Classification.IClassificationType * Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties -> unit
Public Sub SetExplicitTextProperties (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.
Provided values in properties
will be set for the provided classificationType
and override any inherited values. If you wish to keep the inheritance structure and only override the set of varying properties, please use SetTextProperties(IClassificationType, TextFormattingRunProperties).