Compartir a través de


DataSource.ItemType Property

Gets or sets the item type of the data source.

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 ItemType As String
public string ItemType { get; set; }
public:
property String^ ItemType {
    String^ get ();
    void set (String^ value);
}
member ItemType : string with get, set
function get ItemType () : String 
function set ItemType (value : String)

Property Value

Type: System.String
Returns the item type of the data source.

Remarks

If a BaseProperty is an item definition metadata or item metadata, this field specifies the item type of the item definition or the item, respectively. For common properties, this field must not be set.

.NET Framework Security

See Also

Reference

DataSource Class

Microsoft.Build.Framework.XamlTypes Namespace