Share via


Rule.DataSource Property

The DataSource for the properties in this Rule. This is overridden by any data source that is defined locally for a property.

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

Syntax

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

Property Value

Type: Microsoft.Build.Framework.XamlTypes.DataSource
Returns the data source.

Remarks

You do not have to specify this field if all individual properties have data sources defined locally.

.NET Framework Security

See Also

Reference

Rule Class

Microsoft.Build.Framework.XamlTypes Namespace