In This Article

IExampleTextProvider Interface

Provides the base requirements for an object that returns example text, which can be displayed in an application to show how a language's code snippet is syntax-highlighted.

public interface IExampleTextProvider

Remarks

This interface type can be registered with an ISyntaxLanguage using the RegisterService(object, object) method. Once an object that implements this interface is registered with the language for this interface type, its features can be used by the language.

Properties

ExampleText

Gets the example text, a code snippet of the related language.

string ExampleText { get; }

Property Value

string:

The example text.

See Also

See Also