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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.