語言

FormattedLogValues(String, Object[]) 建構函式

定義

初始化 FormattedLogValues 類別的新執行個體。

public:
 FormattedLogValues(System::String ^ format, ... cli::array <System::Object ^> ^ values);
public FormattedLogValues(string? format, params object?[]? values);
new Microsoft.Extensions.Logging.Internal.FormattedLogValues : string * obj[] -> Microsoft.Extensions.Logging.Internal.FormattedLogValues
Public Sub New (format As String, ParamArray values As Object())

參數

format
String

格式字串。

values
Object[]

價值觀。

適用於