Compartir a través de


IClassificationFormatMap.GetTextProperties Method

Gets the TextFormattingRunProperties for a given text classification type.

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

Syntax

'Declaración
Function GetTextProperties ( _
    classificationType As IClassificationType _
) As TextFormattingRunProperties
TextFormattingRunProperties GetTextProperties(
    IClassificationType classificationType
)
TextFormattingRunProperties^ GetTextProperties(
    IClassificationType^ classificationType
)
abstract GetTextProperties : 
        classificationType:IClassificationType -> TextFormattingRunProperties 
function GetTextProperties(
    classificationType : IClassificationType
) : TextFormattingRunProperties

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
The TextFormattingRunProperties object that represents the merged set of text properties from the specified classification type.

Exceptions

Exception Condition
ArgumentNullException

classificationType is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

IClassificationFormatMap Interface

Microsoft.VisualStudio.Text.Classification Namespace