Partilhar via


SymbolDisplayPart Struct

Definition

A single element of a symbol description. For example, a keyword, a punctuation character or a class name.

public value class SymbolDisplayPart
public struct SymbolDisplayPart
public readonly struct SymbolDisplayPart
type SymbolDisplayPart = struct
Public Structure SymbolDisplayPart
Inheritance
SymbolDisplayPart

Constructors

SymbolDisplayPart(SymbolDisplayPartKind, ISymbol, String)

Construct a non-formattable SymbolDisplayPart (i.e. with a fixed string value).

Properties

Kind

Gets the kind of this display part.

Symbol

Gets the symbol associated with this display part, if there is one. For example, the ITypeSymbol associated with a class name.

Methods

ToString()

Returns the string value of this symbol display part.

Applies to

See also