IClassificationFormatMap::AddExplicitTextProperties Method (IClassificationType^, TextFormattingRunProperties^)

 
Namespace:   Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

void AddExplicitTextProperties(
	IClassificationType^ classificationType,
	TextFormattingRunProperties^ properties
)

Exception Condition
ArgumentNullException

classificationType is null.

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.

Return to top
Show: