Share via


Category.DisplayName Property

Gets or sets a name that can be used by a prospective UI client to display this Category.

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

Property Value

Type: System.String
Returns the display name of this category.

Remarks

This field is optional and is culture-sensitive. When this property is not set, it is assigned the same value as the Name property (and, therefore, would not be localized).

.NET Framework Security

See Also

Reference

Category Class

Microsoft.Build.Framework.XamlTypes Namespace