共用方式為


SymbolDisplay Class

Definition

Displays a symbol in the VisualBasic style.

public ref class SymbolDisplay sealed
public sealed class SymbolDisplay
type SymbolDisplay = class
Public Module SymbolDisplay
Inheritance
SymbolDisplay

Methods

FormatPrimitive(Object, Boolean, Boolean)

Returns a string representation of an object of primitive type.

ToDisplayParts(ISymbol, SymbolDisplayFormat)

Convert a symbol to an array of string parts, each of which has a kind. Useful for colorizing the display string.

ToDisplayString(ISymbol, SymbolDisplayFormat)

Displays a symbol in the Visual Basic style, based on a SymbolDisplayFormat.

ToMinimalDisplayParts(ISymbol, SemanticModel, Int32, SymbolDisplayFormat)

Convert a symbol to an array of string parts, each of which has a kind. Useful for colorizing the display string.

ToMinimalDisplayString(ISymbol, SemanticModel, Int32, SymbolDisplayFormat)

Displays a symbol in the Visual Basic style, based on a SymbolDisplayFormat. Based on the context, qualify type And member names as little as possible without introducing ambiguities.

Applies to

See also