Delen via


OutputMessageCollection.WarningCount Property

Gets the number of warning messages in the collection.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public ReadOnly Property WarningCount As Integer
public int WarningCount { get; }
public:
property int WarningCount {
    int get ();
}
member WarningCount : int with get
function get WarningCount () : int

Property Value

Type: System.Int32
The number of warning messages in the collection.

.NET Framework Security

See Also

Reference

OutputMessageCollection Class

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace