Share via


ContentType.DefaultContentTypeForItemType Property

Gets or sets a flag that determines whether default content type is available.

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 DefaultContentTypeForItemType As Boolean
public bool DefaultContentTypeForItemType { get; set; }
public:
property bool DefaultContentTypeForItemType {
    bool get ();
    void set (bool value);
}
member DefaultContentTypeForItemType : bool with get, set
function get DefaultContentTypeForItemType () : boolean 
function set DefaultContentTypeForItemType (value : boolean)

Property Value

Type: System.Boolean
Returns true if default content type is available.

.NET Framework Security

See Also

Reference

ContentType Class

Microsoft.Build.Framework.XamlTypes Namespace