ICodeLensTag2 Interface

Definition

Extends ICodeLensTag with an ability to provide ICodeLensDescriptorContextProvider.

C++
public interface class ICodeLensTag2 : Microsoft::VisualStudio::Language::CodeLens::ICodeLensTag, Microsoft::VisualStudio::Text::Tagging::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

Produkt Verzie
Visual Studio SDK 2019, 2022