Share via


StandardTableKeyNames.PersistentSpan Field

Definition

The location associated with the entry.

It enables accurate navigation when data provided by Line and Column is stale after making changes to the document.

public: System::String ^ PersistentSpan;
public const string PersistentSpan;
val mutable PersistentSpan : string
Public Const PersistentSpan As String 

Field Value

Remarks

Expected data type is Microsoft.VisualStudio.Text.IPersistentSpan.

Use Microsoft.VisualStudio.Text.IPersistentSpanFactory to create instances of IPersistentSpan. They are IDisposable and must be disposed of when the last ITableEntriesSnapshot using the IPersistentSpan is disposed of. Otherwise, these instances would cause memory leaks of the contents of the editor.

Applies to