Udostępnij za pośrednictwem


SymbolDisplayFormat.WithParameterOptions Method

Definition

Creates a copy of the SymbolDisplayFormat but with replaced set of SymbolDisplayParameterOptions.

public:
 Microsoft::CodeAnalysis::SymbolDisplayFormat ^ WithParameterOptions(Microsoft::CodeAnalysis::SymbolDisplayParameterOptions options);
public Microsoft.CodeAnalysis.SymbolDisplayFormat WithParameterOptions (Microsoft.CodeAnalysis.SymbolDisplayParameterOptions options);
member this.WithParameterOptions : Microsoft.CodeAnalysis.SymbolDisplayParameterOptions -> Microsoft.CodeAnalysis.SymbolDisplayFormat
Public Function WithParameterOptions (options As SymbolDisplayParameterOptions) As SymbolDisplayFormat

Parameters

options
SymbolDisplayParameterOptions

An object specifying how parameters should be formatted.

Returns

A duplicate of the SymbolDisplayFormat, with a replaced set of SymbolDisplayParameterOptions.

Applies to