SymbolDisplayFormat.WithLocalOptions(SymbolDisplayLocalOptions) 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 SymbolDisplayLocalOptions.
public:
Microsoft::CodeAnalysis::SymbolDisplayFormat ^ WithLocalOptions(Microsoft::CodeAnalysis::SymbolDisplayLocalOptions options);
public Microsoft.CodeAnalysis.SymbolDisplayFormat WithLocalOptions (Microsoft.CodeAnalysis.SymbolDisplayLocalOptions options);
member this.WithLocalOptions : Microsoft.CodeAnalysis.SymbolDisplayLocalOptions -> Microsoft.CodeAnalysis.SymbolDisplayFormat
Public Function WithLocalOptions (options As SymbolDisplayLocalOptions) As SymbolDisplayFormat
Parameters
- options
- SymbolDisplayLocalOptions
An object specifying parameters on how symbols belonging to locals should be formatted.
Returns
A duplicate of the SymbolDisplayFormat, with a replaced set of SymbolDisplayLocalOptions.
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.