Compartir a través de


BaseProperty.DataSource Property

Gets or sets the data source where the current value of this property is stored.

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 where the current value of this property is stored.

Remarks

If the data source is defined, it overrides the DataSource property on the containing Rule.

This field is mandatory only if the parent Rule does not have the data source initialized. The getter for this property returns only the DataSource that is set directly on this BaseProperty instance.

.NET Framework Security

See Also

Reference

BaseProperty Class

Microsoft.Build.Framework.XamlTypes Namespace