共用方式為


ITextFormattable Interface

Provides a way to override the text formatting properties for an object.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'宣告
Public Interface ITextFormattable
public interface ITextFormattable
public interface class ITextFormattable
type ITextFormattable =  interface end
public interface ITextFormattable

The ITextFormattable type exposes the following members.

Methods

  Name Description
Public method GetHighlightedTextRunProperties Gets a set of text run properties that overrides the default set used to display text when this object is highlighted.
Public method GetTextRunProperties Gets a set of TextRunProperties that overrides the default TextRunProperties used to display the text.

Top

Remarks

This interface is primarily implemented by Completion instances that wish to override their textual presentation in the statement completion presenter.

See Also

Reference

Microsoft.VisualStudio.Language.Intellisense Namespace