共用方式為


OptionSet.WithChangedOption 方法

定義

多載

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

參數

language
String
value
T

傳回

適用於