Bewerken

Share via


MenuCommand.Properties Property

Definition

Gets the public properties associated with the MenuCommand.

public:
 virtual property System::Collections::IDictionary ^ Properties { System::Collections::IDictionary ^ get(); };
public virtual System.Collections.IDictionary Properties { get; }
member this.Properties : System.Collections.IDictionary
Public Overridable ReadOnly Property Properties As IDictionary

Property Value

An IDictionary containing the public properties of the MenuCommand.

Remarks

All menu commands store their public properties in the Properties collection. The key in the properties dictionary is the property name. This allows for generic enumeration of properties and provides a consistent substrate from which new properties can be added without modifying the class definition.

Applies to