DocumentOptionSet.WithChangedOption 方法

定义

重载

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

创建包含已更改值的新 DocumentOptionSet 值。

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

参数

optionAndLanguage
OptionKey
value
Object

返回

适用于

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
Source:
DocumentOptionSet.cs

创建包含已更改值的新 DocumentOptionSet 值。

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

类型参数

T

参数

value
T

返回

适用于