SymbolDisplayFormat.AddMiscellaneousOptions 方法

定义

创建 SymbolDisplayFormat 的副本,但具有附加的 SymbolDisplayMiscellaneousOptions一组 。

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

参数

options
SymbolDisplayMiscellaneousOptions

一个 对象,该对象指定其他参数来设置杂项符号的格式。

返回

SymbolDisplayFormat 的副本,另加一组 SymbolDisplayMiscellaneousOptions

适用于