DocumentOptionSet.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) | |
GetOption<T>(PerLanguageOption<T>) |
GetOption(OptionKey)
- Source:
- DocumentOptionSet.cs
- Source:
- DocumentOptionSet.cs
- Source:
- DocumentOptionSet.cs
- Source:
- DocumentOptionSet.cs
- Source:
- DocumentOptionSet.cs
- Source:
- DocumentOptionSet.cs
- Source:
- DocumentOptionSet.cs
public:
override System::Object ^ GetOption(Microsoft::CodeAnalysis::Options::OptionKey optionKey);
public override object GetOption (Microsoft.CodeAnalysis.Options.OptionKey optionKey);
override this.GetOption : Microsoft.CodeAnalysis.Options.OptionKey -> obj
Public Overrides Function GetOption (optionKey As OptionKey) As Object
Parameters
- optionKey
- OptionKey
Returns
Applies to
GetOption<T>(PerLanguageOption<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
- Source:
- DocumentOptionSet.cs
- Source:
- DocumentOptionSet.cs
- Source:
- DocumentOptionSet.cs
- Source:
- DocumentOptionSet.cs
- Source:
- DocumentOptionSet.cs
public:
generic <typename T>
T GetOption(Microsoft::CodeAnalysis::Options::PerLanguageOption<T> ^ option);
public T GetOption<T> (Microsoft.CodeAnalysis.Options.PerLanguageOption<T> option);
override this.GetOption : Microsoft.CodeAnalysis.Options.PerLanguageOption<'T> -> 'T
Public Function GetOption(Of T) (option As PerLanguageOption(Of T)) As T
Type Parameters
- T
Parameters
- option
- PerLanguageOption<T>
Returns
T
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.