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

适用于