Aracılığıyla paylaş


ISymbol.ToDisplayString(SymbolDisplayFormat) Method

Definition

Converts the symbol to a string representation.

public string ToDisplayString (Microsoft.CodeAnalysis.SymbolDisplayFormat format = default);
public string ToDisplayString (Microsoft.CodeAnalysis.SymbolDisplayFormat? format = default);
abstract member ToDisplayString : Microsoft.CodeAnalysis.SymbolDisplayFormat -> string
Public Function ToDisplayString (Optional format As SymbolDisplayFormat = Nothing) As String

Parameters

format
SymbolDisplayFormat

Format or null for the default.

Returns

A formatted string representation of the symbol.

Applies to