IClassificationFormatMap.GetTextProperties(IClassificationType) 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.
Gets the effective TextFormattingRunProperties for a given text classification type including the
properties of classificationType
and any properties that it might inherit.
public:
Microsoft::VisualStudio::Text::Formatting::TextFormattingRunProperties ^ GetTextProperties(Microsoft::VisualStudio::Text::Classification::IClassificationType ^ classificationType);
public Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties GetTextProperties (Microsoft.VisualStudio.Text.Classification.IClassificationType classificationType);
abstract member GetTextProperties : Microsoft.VisualStudio.Text.Classification.IClassificationType -> Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
Public Function GetTextProperties (classificationType As IClassificationType) As TextFormattingRunProperties
Parameters
- classificationType
- IClassificationType
The IClassificationType whose merged text properties should be returned.
Returns
The TextFormattingRunProperties object that represents the merged set of text properties from the specified classification type.
Exceptions
classificationType
is null.