Share via


Task.TaskResources Property

Gets or sets the culture-specific resources associated with the task.

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
Protected Property TaskResources As ResourceManager
protected ResourceManager TaskResources { get; set; }
protected:
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
The culture-specific resources associated with the task. This value can be nulla null reference (Nothing in Visual Basic).

Remarks

If derived classes have localized strings, then they should register their resources either during construction, or through this property.

.NET Framework Security

See Also

Reference

Task Class

Microsoft.Build.Utilities Namespace