IOutliner Interface
Provides the base requirements of an object that can generate an IOutliningSource for a language, which is used to drive automatic code outlining (folding) features.
public interface IOutliner
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
UpdateTrigger
An AutomaticOutliningUpdateTrigger indicating the trigger by which automatic outlining should update.
AutomaticOutliningUpdateTrigger UpdateTrigger { get; }
Property Value
Methods
GetOutliningSource(ITextSnapshot)
Returns an IOutliningSource for the specified ITextSnapshot.
IOutliningSource? GetOutliningSource(ITextSnapshot snapshot)
| Parameter | Type | Description |
|---|---|---|
| snapshot | ITextSnapshot | The ITextSnapshot for which to return an outlining source. |