Partager via


TextFormattingRunProperties.ClearTextDecorations Method

Gets a new TextFormattingRunProperties with all properties the same except for the text decorations.

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

Syntax

'Déclaration
Public Function ClearTextDecorations As TextFormattingRunProperties
public TextFormattingRunProperties ClearTextDecorations()
public:
TextFormattingRunProperties^ ClearTextDecorations()
member ClearTextDecorations : unit -> TextFormattingRunProperties 
public function ClearTextDecorations() : TextFormattingRunProperties

Return Value

Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
A TextFormattingRunProperties with the text decorations property cleared.

.NET Framework Security

See Also

Reference

TextFormattingRunProperties Class

Microsoft.VisualStudio.Text.Formatting Namespace