共用方式為


SymbolDisplayFormat.WithMiscellaneousOptions 方法

定義

建立 SymbolDisplayFormat 的複本,但會取代的 SymbolDisplayMiscellaneousOptions 集合。

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

參數

options
SymbolDisplayMiscellaneousOptions

物件,表示如何格式化其他符號。

傳回

SymbolDisplayFormat 的複本,取代的一組 SymbolDisplayMiscellaneousOptions

適用於