Share via


SymbolDisplayFormat.WithMemberOptions(SymbolDisplayMemberOptions) Method

Definition

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

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

Parameters

options
SymbolDisplayMemberOptions

An object specifying how members will be formatted.

Returns

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

Applies to