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
- classificationType
Type: Microsoft.VisualStudio.Text.Classification.IClassificationType
The IClassificationType whose text properties should be merged.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.