SymbolDisplayFormat.WithGenericsOptions(SymbolDisplayGenericsOptions) Method
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.
Creates a copy of the SymbolDisplayFormat but with replaced set of SymbolDisplayGenericsOptions.
public:
Microsoft::CodeAnalysis::SymbolDisplayFormat ^ WithGenericsOptions(Microsoft::CodeAnalysis::SymbolDisplayGenericsOptions options);
public Microsoft.CodeAnalysis.SymbolDisplayFormat WithGenericsOptions (Microsoft.CodeAnalysis.SymbolDisplayGenericsOptions options);
member this.WithGenericsOptions : Microsoft.CodeAnalysis.SymbolDisplayGenericsOptions -> Microsoft.CodeAnalysis.SymbolDisplayFormat
Public Function WithGenericsOptions (options As SymbolDisplayGenericsOptions) As SymbolDisplayFormat
Parameters
- options
- SymbolDisplayGenericsOptions
An object specifying how generic symbols will be formatted.
Returns
A duplicate of the SymbolDisplayFormat, with a replaced set of SymbolDisplayGenericsOptions.
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.