共用方式為


Rule.DataSource Property

Definition

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

public:
 property Microsoft::Build::Framework::XamlTypes::DataSource ^ DataSource { Microsoft::Build::Framework::XamlTypes::DataSource ^ get(); void set(Microsoft::Build::Framework::XamlTypes::DataSource ^ value); };
public Microsoft.Build.Framework.XamlTypes.DataSource DataSource { get; set; }
public Microsoft.Build.Framework.XamlTypes.DataSource DataSource { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.DataSource : Microsoft.Build.Framework.XamlTypes.DataSource with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.DataSource : Microsoft.Build.Framework.XamlTypes.DataSource with get, set
Public Property DataSource As DataSource

Property Value

Returns the data source.

Attributes

Remarks

This field need not be specified only if all individual properties have data source defined locally.

Applies to