語言

IConsoleLoggerSettings.TryGetSwitch(String, LogLevel) 方法

定義

此特性僅保留以維持相容性。

public:
 bool TryGetSwitch(System::String ^ name, [Runtime::InteropServices::Out] Microsoft::Extensions::Logging::LogLevel % level);
public bool TryGetSwitch(string name, out Microsoft.Extensions.Logging.LogLevel level);
abstract member TryGetSwitch : string * LogLevel -> bool
Public Function TryGetSwitch (name As String, ByRef level As LogLevel) As Boolean

參數

name
String

此特性僅保留以維持相容性。

level
LogLevel

此特性僅保留以維持相容性。

傳回

此特性僅保留以維持相容性。

適用於