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