Megosztás a következőn keresztül:


SymbolDisplayFormat.WithGenericsOptions(SymbolDisplayGenericsOptions) Method

Definition

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