DocumentOptionSet.WithChangedOption 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
- option
- PerLanguageOption<T>
- value
- T