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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.