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