次の方法で共有


OptionSet.GetOption メソッド

定義

オーバーロード

GetOption(OptionKey)

オプションの値を取得します。そうでない場合は既定値を取得します。

GetOption<T>(Option<T>)

オプションの値を取得します。そうでない場合は既定値を取得します。

GetOption<T>(OptionKey)

オプションの値を取得します。そうでない場合は既定値を取得します。

GetOption<T>(PerLanguageOption<T>, String)

オプションの値を取得します。そうでない場合は既定値を取得します。

GetOption(OptionKey)

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

オプションの値を取得します。そうでない場合は既定値を取得します。

public:
 abstract System::Object ^ GetOption(Microsoft::CodeAnalysis::Options::OptionKey optionKey);
public abstract object GetOption (Microsoft.CodeAnalysis.Options.OptionKey optionKey);
public object? GetOption (Microsoft.CodeAnalysis.Options.OptionKey optionKey);
public abstract object? GetOption (Microsoft.CodeAnalysis.Options.OptionKey optionKey);
abstract member GetOption : Microsoft.CodeAnalysis.Options.OptionKey -> obj
member this.GetOption : Microsoft.CodeAnalysis.Options.OptionKey -> obj
Public MustOverride Function GetOption (optionKey As OptionKey) As Object
Public Function GetOption (optionKey As OptionKey) As Object

パラメーター

optionKey
OptionKey

戻り値

適用対象

GetOption<T>(Option<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

オプションの値を取得します。そうでない場合は既定値を取得します。

public:
generic <typename T>
 T GetOption(Microsoft::CodeAnalysis::Options::Option<T> ^ option);
public T GetOption<T> (Microsoft.CodeAnalysis.Options.Option<T> option);
member this.GetOption : Microsoft.CodeAnalysis.Options.Option<'T> -> 'T
Public Function GetOption(Of T) (option As Option(Of T)) As T

型パラメーター

T

パラメーター

option
Option<T>

戻り値

T

適用対象

GetOption<T>(OptionKey)

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

オプションの値を取得します。そうでない場合は既定値を取得します。

public T GetOption<T> (Microsoft.CodeAnalysis.Options.OptionKey optionKey);
member this.GetOption : Microsoft.CodeAnalysis.Options.OptionKey -> 'T
Public Function GetOption(Of T) (optionKey As OptionKey) As T

型パラメーター

T

パラメーター

optionKey
OptionKey

戻り値

T

適用対象

GetOption<T>(PerLanguageOption<T>, String)

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

オプションの値を取得します。そうでない場合は既定値を取得します。

public:
generic <typename T>
 T GetOption(Microsoft::CodeAnalysis::Options::PerLanguageOption<T> ^ option, System::String ^ language);
public T GetOption<T> (Microsoft.CodeAnalysis.Options.PerLanguageOption<T> option, string language);
public T GetOption<T> (Microsoft.CodeAnalysis.Options.PerLanguageOption<T> option, string? language);
member this.GetOption : Microsoft.CodeAnalysis.Options.PerLanguageOption<'T> * string -> 'T
Public Function GetOption(Of T) (option As PerLanguageOption(Of T), language As String) As T

型パラメーター

T

パラメーター

language
String

戻り値

T

適用対象