共用方式為


XamlTaskFactory.TaskElementContents Property

Gets or sets the contents of the UsingTask body.

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 TaskElementContents As String
public string TaskElementContents { get; private set; }
public:
property String^ TaskElementContents {
    String^ get ();
    private: void set (String^ value);
}
member TaskElementContents : string with get, private set
function get TaskElementContents () : String 
private function set TaskElementContents (value : String)

Property Value

Type: System.String
Returns the contents of the UsingTask body.

.NET Framework Security

See Also

Reference

XamlTaskFactory Class

Microsoft.Build.Tasks Namespace