Compartir a través de


Rule.Metadata Property

Gets or sets arbitrary metadata that may be set on a rule.

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

Property Value

Type: Dictionary<String, Object>
Returns Dictionary.

.NET Framework Security

See Also

Reference

Rule Class

Microsoft.Build.Framework.XamlTypes Namespace