อ่านในภาษาอังกฤษ

แชร์ผ่าน


ILogger.Parameters Property

Definition

This property holds the user-specified parameters to the logger. If parameters are not provided, a logger should revert to defaults. If a logger does not take parameters, it can ignore this property.

C#
public string Parameters { get; set; }
C#
public string? Parameters { get; set; }

Property Value

The parameter string (can be null).

Remarks

Parameters may be represented in this property in any format. For example, to represent two parameters and values, you could use the string "parameter1=value1;parameter2=value2".

This property can be a null reference (Nothing in Visual Basic).

Applies to

ผลิตภัณฑ์ เวอร์ชัน
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17