Share via


DocumentOptionSet.GetOption 方法

定义

重载

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
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

参数

返回

T

适用于