OptionSet.WithChangedOption 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WithChangedOption(OptionKey, Object) |
创建包含已更改值的新 OptionSet 值。 |
WithChangedOption<T>(Option<T>, T) |
创建包含已更改值的新 OptionSet 值。 |
WithChangedOption<T>(PerLanguageOption<T>, String, T) |
创建包含已更改值的新 OptionSet 值。 |
WithChangedOption(OptionKey, Object)
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
创建包含已更改值的新 OptionSet 值。
public:
abstract Microsoft::CodeAnalysis::Options::OptionSet ^ WithChangedOption(Microsoft::CodeAnalysis::Options::OptionKey optionAndLanguage, System::Object ^ value);
public abstract Microsoft.CodeAnalysis.Options.OptionSet WithChangedOption (Microsoft.CodeAnalysis.Options.OptionKey optionAndLanguage, object value);
public abstract Microsoft.CodeAnalysis.Options.OptionSet WithChangedOption (Microsoft.CodeAnalysis.Options.OptionKey optionAndLanguage, object? value);
public virtual Microsoft.CodeAnalysis.Options.OptionSet WithChangedOption (Microsoft.CodeAnalysis.Options.OptionKey optionAndLanguage, object? value);
abstract member WithChangedOption : Microsoft.CodeAnalysis.Options.OptionKey * obj -> Microsoft.CodeAnalysis.Options.OptionSet
abstract member WithChangedOption : Microsoft.CodeAnalysis.Options.OptionKey * obj -> Microsoft.CodeAnalysis.Options.OptionSet
override this.WithChangedOption : Microsoft.CodeAnalysis.Options.OptionKey * obj -> Microsoft.CodeAnalysis.Options.OptionSet
Public MustOverride Function WithChangedOption (optionAndLanguage As OptionKey, value As Object) As OptionSet
Public Overridable Function WithChangedOption (optionAndLanguage As OptionKey, value As Object) As OptionSet
参数
- optionAndLanguage
- OptionKey
- value
- Object
返回
适用于
WithChangedOption<T>(Option<T>, T)
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
创建包含已更改值的新 OptionSet 值。
public:
generic <typename T>
Microsoft::CodeAnalysis::Options::OptionSet ^ WithChangedOption(Microsoft::CodeAnalysis::Options::Option<T> ^ option, T value);
public Microsoft.CodeAnalysis.Options.OptionSet WithChangedOption<T> (Microsoft.CodeAnalysis.Options.Option<T> option, T value);
member this.WithChangedOption : Microsoft.CodeAnalysis.Options.Option<'T> * 'T -> Microsoft.CodeAnalysis.Options.OptionSet
Public Function WithChangedOption(Of T) (option As Option(Of T), value As T) As OptionSet
类型参数
- T
参数
- option
- Option<T>
- value
- T
返回
适用于
WithChangedOption<T>(PerLanguageOption<T>, String, T)
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
- Source:
- OptionSet.cs
创建包含已更改值的新 OptionSet 值。
public:
generic <typename T>
Microsoft::CodeAnalysis::Options::OptionSet ^ WithChangedOption(Microsoft::CodeAnalysis::Options::PerLanguageOption<T> ^ option, System::String ^ language, T value);
public Microsoft.CodeAnalysis.Options.OptionSet WithChangedOption<T> (Microsoft.CodeAnalysis.Options.PerLanguageOption<T> option, string language, T value);
public Microsoft.CodeAnalysis.Options.OptionSet WithChangedOption<T> (Microsoft.CodeAnalysis.Options.PerLanguageOption<T> option, string? language, T value);
member this.WithChangedOption : Microsoft.CodeAnalysis.Options.PerLanguageOption<'T> * string * 'T -> Microsoft.CodeAnalysis.Options.OptionSet
Public Function WithChangedOption(Of T) (option As PerLanguageOption(Of T), language As String, value As T) As OptionSet
类型参数
- T
参数
- option
- PerLanguageOption<T>
- language
- String
- value
- T