Category Property

BaseProperty.Category Property

 

Gets or sets the name of the category to which this property belongs.

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)

public string Category {
	[CompilerGeneratedAttribute]
	get;
	[CompilerGeneratedAttribute]
	set;
}

Property Value

Type: System.String

Returns the name of the category to which this property belongs.

If the value of this field does not correspond to the Name property of a Category element that is defined in the containing Rule class, a default Category that has this name is auto-generated and added to the containing Rule class.

This field is optional and is culture-invariant. When this field is not specified, this property is added to an auto-generated category named General (localized). This field cannot be set to the empty string.

Return to top
Show:
© 2016 Microsoft