ProjectCollection.Loggers 属性

定义

获取此集合中的项目可用于其生成的所有记录器。Gets all loggers that projects in this collection can use for their builds.

public:
 property System::Collections::Generic::ICollection<Microsoft::Build::Framework::ILogger ^> ^ Loggers { System::Collections::Generic::ICollection<Microsoft::Build::Framework::ILogger ^> ^ get(); };
public System.Collections.Generic.ICollection<Microsoft.Build.Framework.ILogger> Loggers { get; }
member this.Loggers : System.Collections.Generic.ICollection<Microsoft.Build.Framework.ILogger>
Public ReadOnly Property Loggers As ICollection(Of ILogger)

属性值

此集合中的项目可用于其生成的所有记录器。All loggers that projects in this collection can use for their builds.

注解

记录器随 RegisterLogger 方法一起添加。Loggers are added with the RegisterLogger method.

适用于