IClassificationFormatMap.SetTextProperties 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 merged TextFormattingRunProperties of an IClassificationType.
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).