OptionSet.GetOption 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
GetOption(OptionKey) |
Gets the value of the option, or the default value if not otherwise set. |
GetOption<T>(Option<T>) |
Gets the value of the option, or the default value if not otherwise set. |
GetOption<T>(OptionKey) |
Gets the value of the option, or the default value if not otherwise set. |
GetOption<T>(PerLanguageOption<T>, String) |
Gets the value of the option, or the default value if not otherwise set. |
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
- Source:
- OptionSet.cs
Gets the value of the option, or the default value if not otherwise set.
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
Parameters
- optionKey
- OptionKey
Returns
Applies to
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
- Source:
- OptionSet.cs
Gets the value of the option, or the default value if not otherwise set.
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
Type Parameters
- T
Parameters
- option
- Option<T>
Returns
Applies to
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
- Source:
- OptionSet.cs
Gets the value of the option, or the default value if not otherwise set.
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
Type Parameters
- T
Parameters
- optionKey
- OptionKey
Returns
Applies to
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
- Source:
- OptionSet.cs
Gets the value of the option, or the default value if not otherwise set.
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
Type Parameters
- T
Parameters
- option
- PerLanguageOption<T>
- language
- String