In This Article

CSharpOutliner Class

Provides a C# language outliner service.

public class CSharpOutliner : IOutliner
Inheritance:
object object
Implements:
IOutliner

Constructors

CSharpOutliner()

Initializes an instance of the class.

public CSharpOutliner()

Properties

CanOutlineCodeLevelConstructs

Indicates whether the outlining source can create outlining nodes for code-level constructs such as block statements.

public bool CanOutlineCodeLevelConstructs { get; set; }

Property Value

bool

UpdateTrigger

An AutomaticOutliningUpdateTrigger indicating the trigger by which automatic outlining should update.

public AutomaticOutliningUpdateTrigger UpdateTrigger { get; }

Property Value

AutomaticOutliningUpdateTrigger

Methods

GetOutliningSource(ITextSnapshot)

Returns an IOutliningSource for the specified ITextSnapshot.

public IOutliningSource? GetOutliningSource(ITextSnapshot snapshot)
Parameter Type Description
snapshot ITextSnapshot

The ITextSnapshot for which to return an outlining source.

Returns

IOutliningSource

Inherited Members

Extension Methods