MenuCommand.Properties 属性

定义

获取与 . 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

属性值

一个 IDictionary 包含 . MenuCommand. 的公共属性。

注解

所有菜单命令将其公共属性存储在集合中 Properties 。 属性字典中的键是属性名称。 这允许对属性进行泛型枚举,并提供一致的基底,可从中添加新属性,而无需修改类定义。

适用于