次の方法で共有


TaskLoggingHelperExtension.TaskSharedResources Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets the shared UI and string resources.

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

Syntax

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

Property Value

Type: System.Resources.ResourceManager
The shared UI and string resources.

Remarks

This property is used to load culture-specific resources. Derived classes should register their resources either during construction, or via this property, if they have localized strings.

.NET Framework Security

See Also

Reference

TaskLoggingHelperExtension Class

Microsoft.Build.Tasks Namespace