Share via


ProjectTargetElement.Returns Property

Gets or sets the Returns attribute value.

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

Syntax

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

Property Value

Type: System.String
Returns the returns attribute value; null if the attribute is not present

Remarks

Removes the attribute only if the value is set to null. An empty string is an allowable value for both getting and setting.

.NET Framework Security

See Also

Reference

ProjectTargetElement Class

Microsoft.Build.Construction Namespace