Partilhar via


IClassificationFormatMap.GetTextProperties(IClassificationType) Method

Definition

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.

Applies to