Partilhar via


TaskLoggingHelper.TaskResources Property

Gets or sets the culture-specific resources used by the logging methods.

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.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

Syntax

'Declaration
Public Property TaskResources As ResourceManager
public ResourceManager TaskResources { get; set; }
public:
property ResourceManager^ TaskResources {
    ResourceManager^ get ();
    void set (ResourceManager^ value);
}
member TaskResources : ResourceManager with get, set
function get TaskResources () : ResourceManager 
function set TaskResources (value : ResourceManager)

Property Value

Type: System.Resources.ResourceManager
A ResourceManager that represents the culture-specific resources used by the logging methods. This value can be nulla null reference (Nothing in Visual Basic).

Remarks

If derived classes have localized strings, then they should register their resources with this property.

.NET Framework Security

See Also

Reference

TaskLoggingHelper Class

Microsoft.Build.Utilities Namespace