共用方式為


DocumentOptionSet.WithChangedOption Method

Definition

Overloads

WithChangedOption(OptionKey, Object)
WithChangedOption<T>(PerLanguageOption<T>, T)

Creates a new DocumentOptionSet that contains the changed value.

WithChangedOption(OptionKey, Object)

Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
public:
 override Microsoft::CodeAnalysis::Options::OptionSet ^ WithChangedOption(Microsoft::CodeAnalysis::Options::OptionKey optionAndLanguage, System::Object ^ value);
public override Microsoft.CodeAnalysis.Options.OptionSet WithChangedOption (Microsoft.CodeAnalysis.Options.OptionKey optionAndLanguage, object value);
public override Microsoft.CodeAnalysis.Options.OptionSet WithChangedOption (Microsoft.CodeAnalysis.Options.OptionKey optionAndLanguage, object? value);
override this.WithChangedOption : Microsoft.CodeAnalysis.Options.OptionKey * obj -> Microsoft.CodeAnalysis.Options.OptionSet
Public Overrides Function WithChangedOption (optionAndLanguage As OptionKey, value As Object) As OptionSet

Parameters

optionAndLanguage
OptionKey
value
Object

Returns

Applies to

WithChangedOption<T>(PerLanguageOption<T>, T)

Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs
Source:
DocumentOptionSet.cs

Creates a new DocumentOptionSet that contains the changed value.

public Microsoft.CodeAnalysis.Options.DocumentOptionSet WithChangedOption<T> (Microsoft.CodeAnalysis.Options.PerLanguageOption<T> option, T value);
override this.WithChangedOption : Microsoft.CodeAnalysis.Options.PerLanguageOption<'T> * 'T -> Microsoft.CodeAnalysis.Options.DocumentOptionSet
Public Function WithChangedOption(Of T) (option As PerLanguageOption(Of T), value As T) As DocumentOptionSet

Type Parameters

T

Parameters

value
T

Returns

Applies to