ComponentActionsType 枚举  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
根据对象绑定智能标记与组件的关联方式,指定其类型。
public enum class ComponentActionsTypepublic enum ComponentActionsTypetype ComponentActionsType = Public Enum ComponentActionsType- 继承
字段
| 名称 | 值 | 说明 | 
|---|---|---|
| All | 0 | 两种智能标记类型。 | 
| Component | 1 | 仅拉模型智能标记。 | 
| Service | 2 | 仅推模型智能标记。 | 
注解
下表描述了将对象绑定智能标记关联到组件的两个选项。
| 智能标记模型 | 说明 | 
|---|---|
| 请求 | 派生自 ComponentDesigner 且与 组件关联的类重写 ActionLists 属性,以返回该组件的智能标记集合。 | 
| 推送 | 对 方法的 Add 调用会将指定的智能标记与指定的组件显式关联。 | 
有关这些智能标记模型的详细信息,请参阅 DesignerActionService 和 DesignerActionListCollection 类。