Share via


EnumValue.Metadata Property

Gets or sets additional attributes of this EnumValue.

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 Metadata As List(Of NameValuePair)
public List<NameValuePair> Metadata { get; set; }
public:
property List<NameValuePair^>^ Metadata {
    List<NameValuePair^>^ get ();
    void set (List<NameValuePair^>^ value);
}
member Metadata : List<NameValuePair> with get, set
function get Metadata () : List<NameValuePair>
function set Metadata (value : List<NameValuePair>)

Property Value

Type: List<NameValuePair>
Returns the additional attributes.

Remarks

This property can be used as a grab bag for additional metadata of this value that are not captured by the primary fields. A custom UI is required to interpret the additional metadata because the included UI formats are not aware of them.

This field is optional.

.NET Framework Security

See Also

Reference

EnumValue Class

Microsoft.Build.Framework.XamlTypes Namespace