Partager via


ICodeLensTag2 Interface

Definition

Extends ICodeLensTag with an ability to provide ICodeLensDescriptorContextProvider.

public interface class ICodeLensTag2 : Microsoft::VisualStudio::Language::CodeLens::ICodeLensTag, Microsoft::VisualStudio::Text::Tagging::ITag
public interface ICodeLensTag2 : Microsoft.VisualStudio.Language.CodeLens.ICodeLensTag, Microsoft.VisualStudio.Text.Tagging.ITag
type ICodeLensTag2 = interface
    interface ICodeLensTag
    interface ITag
Public Interface ICodeLensTag2
Implements ICodeLensTag, ITag
Derived
Implements

Properties

Descriptor

The descriptor for this tag.

(Inherited from ICodeLensTag)
DescriptorContextProvider

Gets an instance of the ICodeLensDescriptorContextProvider, which can provide dynamic context properties of a code element tagged with ICodeLensTag2 in addition to immutable ICodeLensDescriptor.

Events

Disconnected

Raised when this tag has been disconnected and is no longer used as part of the editor.

(Inherited from ICodeLensTag)

Applies to