In This Article

NavigableSymbol Class

Represents a symbol (type, member, etc.) to which navigation can be made.

public class NavigableSymbol : INavigableSymbol
Inheritance:
object object
Implements:
INavigableSymbol

Constructors

NavigableSymbol(TextSnapshotRange)

Represents a symbol (type, member, etc.) to which navigation can be made.

public NavigableSymbol(TextSnapshotRange snapshotRange)
Parameter Type Description
snapshotRange TextSnapshotRange

A TextSnapshotRange indicating the offset range of the symbol within its source file.

Properties

ContentProvider

An IContentProvider that creates the content to render for the symbol within UI.

public IContentProvider? ContentProvider { get; set; }

Property Value

IContentProvider

HierarchyLevel

The symbol's hierarchy level, which may sometimes be reflected in UI.

public int HierarchyLevel { get; set; }

Property Value

int

NavigationSnapshotOffset

The TextSnapshotOffset within the symbol's source file to navigate when the symbol is selected.

public TextSnapshotOffset? NavigationSnapshotOffset { get; set; }

Property Value

TextSnapshotOffset?

SnapshotRange

A TextSnapshotRange indicating the offset range of the symbol within its source file.

public TextSnapshotRange SnapshotRange { get; }

Property Value

TextSnapshotRange

Inherited Members

Extension Methods