共用方式為


BaseProperty.DataSource Property

Definition

The data source where the current value of this property is stored.

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

The data source where the current value of this property is stored.

Attributes

Remarks

If 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 set directly on this BaseProperty instance.

Applies to