Click or drag to resize

SymbolDisplayPart Class



A single element of a symbol description. For example, a keyword, a punctuation character or a class name.
Inheritance Hierarchy
SystemValueType
  Microsoft.CodeAnalysisSymbolDisplayPart

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class SymbolDisplayPart : ValueType

The SymbolDisplayPart type exposes the following members.

Constructors
  NameDescription
Public methodSymbolDisplayPart
Construct a non-formattable SymbolDisplayPart (i.e. with a fixed string value).
Top
Properties
  NameDescription
Public propertyKind
Gets the kind of this display part.
Public propertySymbol
Gets the symbol associated with this display part, if there is one. For example, the ITypeSymbol associated with a class name.
Top
Methods
  NameDescription
Public methodToString
Returns the string value of this symbol display part.
Top
See Also