DocumentOptionSet.GetOption 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
- optionKey
- OptionKey
返回
适用于
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
类型参数
- T
参数
- option
- PerLanguageOption<T>
返回
T