OptionSet.WithChangedOption Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WithChangedOption(OptionKey, Object) |
Creates a new OptionSet that contains the changed value. |
WithChangedOption<T>(Option<T>, T) |
Creates a new OptionSet that contains the changed value. |
WithChangedOption<T>(PerLanguageOption<T>, String, T) |
Creates a new OptionSet that contains the changed value. |
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
Creates a new OptionSet that contains the changed value.
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
Parameters
- optionAndLanguage
- OptionKey
- value
- Object
Returns
Applies to
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
Creates a new OptionSet that contains the changed value.
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
Type Parameters
- T
Parameters
- option
- Option<T>
- value
- T
Returns
Applies to
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
Creates a new OptionSet that contains the changed value.
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
Type Parameters
- T
Parameters
- option
- PerLanguageOption<T>
- language
- String
- value
- T
Returns
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.