Share via


BaseProperty.Metadata Property

Gets or sets additional attributes of this BaseProperty.

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 additional attributes of this BaseProperty.

Remarks

This can be used as a grab bag for additional metadata of this property that are not captured by the primary fields. Use custom UI to interpret the additional metadata because the shipped UI formats are not aware of these attributes.

This field is optional.

.NET Framework Security

See Also

Reference

BaseProperty Class

Microsoft.Build.Framework.XamlTypes Namespace