다음을 통해 공유


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

적용 대상