Freigeben über


CodeElement Struct

Definition

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

[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct CodeElement
[<System.Runtime.CompilerServices.IsReadOnly>]
type CodeElement = struct
Public Structure CodeElement
Inheritance
CodeElement
Attributes

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

Kind

Gets the kind of the code element.

ProjectGuid

Gets a Guid identifying the project to which the document belongs.

RpcContract

Gets a serializable representation of this thick object into for use in an RPC call.

UniqueIdentifier

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

Applies to