Freigeben über


CodeLens Class

Definition

Represents a CodeLens instance created by CodeLens provider.

public abstract class CodeLens : IDisposable
type CodeLens = class
    interface IDisposable
Public MustInherit Class CodeLens
Implements IDisposable
Inheritance
CodeLens
Derived
Implements

Constructors

CodeLens()

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetLabelAsync(CodeElementContext, CancellationToken)

Gets CodeLens label for the CodeLens instance given the context information.

Invalidate()

Invalidates the CodeLens instance (e.g. when the data it displays is no longer valid).

Applies to