共用方式為


DataSource.SourceType Property

Definition

The data type of the source. Generally one of Item, ItemDefinition, Property, or TargetResults (when MSBuildTarget is non-empty). Among other things this governs how the data is treated during build.

public:
 property System::String ^ SourceType { System::String ^ get(); void set(System::String ^ value); };
public string SourceType { get; set; }
public string SourceType { [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.SourceType : string 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.SourceType : string with get, set
Public Property SourceType As String

Property Value

The data type.

Attributes

Examples

A value of Item for this property indicates that this property is actually an item array - the list of all items with the item type specified by ItemType.

Remarks

Typically has the value Item, ItemDefinition, or Property.

Applies to