Partilhar via


SymbolDisplayPart(SymbolDisplayPartKind, ISymbol, String) Constructor

Definition

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

public:
 SymbolDisplayPart(Microsoft::CodeAnalysis::SymbolDisplayPartKind kind, Microsoft::CodeAnalysis::ISymbol ^ symbol, System::String ^ text);
public SymbolDisplayPart (Microsoft.CodeAnalysis.SymbolDisplayPartKind kind, Microsoft.CodeAnalysis.ISymbol symbol, string text);
public SymbolDisplayPart (Microsoft.CodeAnalysis.SymbolDisplayPartKind kind, Microsoft.CodeAnalysis.ISymbol? symbol, string text);
new Microsoft.CodeAnalysis.SymbolDisplayPart : Microsoft.CodeAnalysis.SymbolDisplayPartKind * Microsoft.CodeAnalysis.ISymbol * string -> Microsoft.CodeAnalysis.SymbolDisplayPart
Public Sub New (kind As SymbolDisplayPartKind, symbol As ISymbol, text As String)

Parameters

kind
SymbolDisplayPartKind

The kind of the display part.

symbol
ISymbol

An optional associated symbol.

text
String

The fixed string value of the part.

Applies to