SymbolDisplayPart(SymbolDisplayPartKind, ISymbol, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The kind of the display part.
- symbol
- ISymbol
An optional associated symbol.
- text
- String
The fixed string value of the part.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.