DocumentOptionSet.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) | |
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
- 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
- option
- PerLanguageOption<T>
- value
- T
Returns
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.