Share via


SymbolDisplayFormat.WithLocalOptions(SymbolDisplayLocalOptions) Method

Definition

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