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
- 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
- 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
- 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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET