Share via


CodeElementContract Class

Definition

RPC contract describing a code element in a document on which CodeLens providers would be requested to provide CodeLenses.

[System.Runtime.Serialization.DataContract]
public class CodeElementContract
[<System.Runtime.Serialization.DataContract>]
type CodeElementContract = class
Public Class CodeElementContract
Inheritance
CodeElementContract
Attributes

Constructors

CodeElementContract()

Properties

Description

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).

Kind

The kind of the code element.

ProjectGuid

A Guid identifying the project to which the document belongs.

UniqueIdentifier

Language specific unique identifier of the code element (e.g. fully qualified method name).

Applies to