CodeLensTag Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the CodeLens tag, which is used to place CodeLenses on a view.
[System.Runtime.CompilerServices.IsReadOnly]
[System.Runtime.Serialization.DataContract]
public readonly struct CodeLensTag : Microsoft.VisualStudio.Extensibility.Editor.ITag<Microsoft.VisualStudio.RpcContracts.Editor.CodeLensTagContract>
[<System.Runtime.CompilerServices.IsReadOnly>]
[<System.Runtime.Serialization.DataContract>]
type CodeLensTag = struct
interface ITag<CodeLensTagContract>
interface ITag
Public Structure CodeLensTag
Implements ITag(Of CodeLensTagContract)
- Inheritance
-
CodeLensTag
- Attributes
- Implements
Constructors
CodeLensTag(CodeElement) |
Initializes a new instance of the CodeLensTag struct. |
CodeLensTag(CodeElementKind) |
Initializes a new instance of the CodeLensTag struct. |
Properties
Description |
Gets a short description for the code element (e.g. method name along with containing type name). Used for display purposes (e.g. in the title of the CodeLens tool window if CodeLens details popup is promoted). |
DisplayBeforeCreatingCodeLenses |
Gets a value indicating whether this tag should be displayed before creating CodeLenses. |
Kind |
Gets the kind of the tagged code element. |
ProjectGuid |
Gets a Guid identifying the project to which the document belongs. |
Properties |
Gets a property bag storing additional properties for the code element. |
UniqueIdentifier |
Gets a language specific unique identifier of the code element (e.g. fully qualified method name). |
Explicit Interface Implementations
ITag.RpcContract | |
ITag<CodeLensTagContract>.RpcContract |